diff options
author | Vitiko <[email protected]> | 2022-10-06 16:40:45 -0400 |
---|---|---|
committer | Vitiko <[email protected]> | 2022-10-06 16:40:54 -0400 |
commit | 582c2d9b3c373b531047bda4fbf4267a7f2b2942 (patch) | |
tree | 7754020d7ed2f0531f45c99b2c8b282c46c6a226 | |
parent | 003e033c937c111cb57684df897cdc9e917c815c (diff) | |
download | bazarr-582c2d9b3c373b531047bda4fbf4267a7f2b2942.tar.gz bazarr-582c2d9b3c373b531047bda4fbf4267a7f2b2942.zip |
no log: update conftest.pyv1.1.2-beta.18
-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") |