diff options
Diffstat (limited to 'tests/subliminal_patch/conftest.py')
-rw-r--r-- | tests/subliminal_patch/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/subliminal_patch/conftest.py b/tests/subliminal_patch/conftest.py index d60a807aa..7f72a4814 100644 --- a/tests/subliminal_patch/conftest.py +++ b/tests/subliminal_patch/conftest.py @@ -6,6 +6,7 @@ import os import pytest from subliminal_patch.core import Movie, Episode +from subzero.language import Language logging.getLogger("vcr").setLevel(logging.WARNING) @@ -149,5 +150,10 @@ def episodes(): @pytest.fixture +def languages(): + return {"en": Language.fromietf("en"), "es-MX": Language("spa", "MX")} + + def data(): return os.path.join(os.path.abspath(os.path.dirname(__file__)), "data") |