diff --git a/tests/test_settings.py b/tests/test_settings.py index 285eef2..63d0ecf 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -31,6 +31,12 @@ def test_get_thumb(settings): for src, ref in tests: assert get_thumb(settings, src) == ref + tests = [('example.webm', 'thumbnails/example.tn.jpg'), + ('test/example.mp4', 'test/thumbnails/example.tn.jpg'), + ('test/t/example.avi', 'test/t/thumbnails/example.tn.jpg')] + for src, ref in tests: + assert get_thumb(settings, src) == ref + def test_get_orig(settings): tests = [('example.jpg', 'original/example.jpg'),