def test_default_start(self): now = localized_now().replace(minute=0, second=0, microsecond=0) self.assertEqualDatetime(default_start(), now)
def test_default_end(self): self.assertEqualDatetime( default_end() - timedelta(hours=DEFAULT_END_DELTA), default_start())
def test_default_end(self): self.assertEqualDatetime( default_end() - datetime.timedelta(hours=DEFAULT_END_DELTA), default_start())
def test_default_start(self): self.assertEqualDatetime(default_start(), localized_now())