(self)
| 47 | |
| 48 | class TestISODurationString(unittest.TestCase): |
| 49 | def test_simple(self): |
| 50 | duration = datetime.timedelta(hours=1, minutes=3, seconds=5) |
| 51 | self.assertEqual(duration_iso_string(duration), "P0DT01H03M05S") |
| 52 | |
| 53 | def test_days(self): |
| 54 | duration = datetime.timedelta(days=1, hours=1, minutes=3, seconds=5) |
nothing calls this directly
no test coverage detected