summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2022-10-06 16:40:45 -0400
committerVitiko <[email protected]>2022-10-06 16:40:54 -0400
commit582c2d9b3c373b531047bda4fbf4267a7f2b2942 (patch)
tree7754020d7ed2f0531f45c99b2c8b282c46c6a226
parent003e033c937c111cb57684df897cdc9e917c815c (diff)
downloadbazarr-1.1.2-beta.18.tar.gz
bazarr-1.1.2-beta.18.zip
no log: update conftest.pyv1.1.2-beta.18
-rw-r--r--tests/subliminal_patch/conftest.py6
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")