def test_hour_unpack(self): self.assertEquals(Hour.unpack("2010081415"), datetime(2010, 8, 14, 15))
def test_hour_pack(self): self.assertEquals(Hour.pack(_test_datetime), "2010081415")