def test_bad_args(self): self.replay() result = helpers.is_allday(object(), object()) self.assertEquals(result, True)
def test_no_args(self): self.replay() result = helpers.is_allday() self.assertEquals(result, True)
def test_is_allday(self): self.replay() result = helpers.is_allday( DateTime('2012-12-01 00:00:00'), DateTime('2012-12-03 00:00:00')) self.assertEquals(result, True)