X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/538526fc82b771cbc149743f129d8b1ae7e3cba2..6ed1d78c6ca14fd002c7a00867d1964e0c4ea4a8:/src/catalogue/test_utils.py diff --git a/src/catalogue/test_utils.py b/src/catalogue/test_utils.py index 18c567406..8c76b899d 100644 --- a/src/catalogue/test_utils.py +++ b/src/catalogue/test_utils.py @@ -91,3 +91,7 @@ def get_fixture(path, app=None): mod_path = extract_stack(limit=2)[0][0] f_path = join(dirname(abspath(mod_path)), 'files', path) return f_path + + +def get_mp3_length(path): + return 60