def test_units_temporal(self): self.assertTrue(units_temporal('hours since 2000-01-01')) self.assertFalse(units_temporal('hours')) self.assertFalse(units_temporal('days since the big bang'))
def test_units_temporal(self): self.assertTrue(units_temporal("hours since 2000-01-01")) self.assertFalse(units_temporal("hours")) self.assertFalse(units_temporal("days since the big bang"))