def test_month_unpack(self): self.assertEquals(Month.unpack("201008"), datetime(2010, 8, 1))
def test_month_pack(self): self.assertEquals(Month.pack(_test_datetime), "201008")