(self)
| 29 | |
| 30 | class TestParseDurationRoundtrip(unittest.TestCase): |
| 31 | def test_simple(self): |
| 32 | duration = datetime.timedelta(hours=1, minutes=3, seconds=5) |
| 33 | self.assertEqual(parse_duration(duration_string(duration)), duration) |
| 34 | |
| 35 | def test_days(self): |
| 36 | duration = datetime.timedelta(days=1, hours=1, minutes=3, seconds=5) |
nothing calls this directly
no test coverage detected