| 4 | |
| 5 | |
| 6 | class TestUtils: |
| 7 | def test_total_seconds(self): |
| 8 | td = timedelta(seconds=5) |
| 9 | |
| 10 | assert utils.timedelta_total_seconds(td) == 5 |
| 11 | |
| 12 | def test_long_to_base64(self): |
| 13 | assert utils.long_to_base64(0xDEADBEEF) == b"3q2-7w" |
| 14 | assert utils.long_to_base64(0xCAFED00D, size=10) == b"AAAAAAAAyv7QDQ" |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…