def test_newstyle(self): self.assertEqual(1322125872, timekeeper.parse_timestamp("20111124-101112"))
def test_oldstyle(self): self.assertEqual(1, timekeeper.parse_timestamp("1"))