def test_end_of_month(self): date1 = Date(16, Feb, 2011) date2 = end_of_month(date1) print date2 expected_date = Date(28, Feb, 2011) self.assertTrue(expected_date == date2)
def test_end_of_month(self): date1 = Date(16, Feb, 2011) date2 = end_of_month(date1) expected_date = Date(28, Feb, 2011) self.assertTrue(expected_date == date2)