audio: split into more modules

This commit is contained in:
2025-02-09 03:05:44 -05:00
parent af0896a6a0
commit 69f4d6967f
10 changed files with 234 additions and 217 deletions

View File

@@ -7,7 +7,7 @@ import utils
class TestFormatDuration(unittest.TestCase):
def test_audio(self):
def f(s):
return audio.format_duration(s)
return audio.utils.format_duration(s)
self.assertEqual(f(0), "00:00")
self.assertEqual(f(0.5), "00:00")