(self)
| 28 | |
| 29 | class TotalSecondsTest(BaseEnvVar): |
| 30 | def test_total_seconds(self): |
| 31 | delta = datetime.timedelta(days=1, seconds=45) |
| 32 | remaining = total_seconds(delta) |
| 33 | self.assertEqual(remaining, 86445.0) |
| 34 | |
| 35 | delta = datetime.timedelta(seconds=33, microseconds=772) |
| 36 | remaining = total_seconds(delta) |
| 37 | self.assertEqual(remaining, 33.000772) |
| 38 | |
| 39 | |
| 40 | class TestUnquoteStr(unittest.TestCase): |
nothing calls this directly
no test coverage detected