X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/538526fc82b771cbc149743f129d8b1ae7e3cba2..b0b9c1f0f9f4cc0f5c4d00d913735ab6a81bf214:/src/catalogue/test_utils.py?ds=sidebyside 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