mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 00:03:33 +00:00
no log: update conftest.py
This commit is contained in:
parent
003e033c93
commit
582c2d9b3c
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
@ -148,6 +149,11 @@ def episodes():
|
|||
}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def languages():
|
||||
return {"en": Language.fromietf("en"), "es-MX": Language("spa", "MX")}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def data():
|
||||
return os.path.join(os.path.abspath(os.path.dirname(__file__)), "data")
|
||||
|
|
Loading…
Reference in a new issue