|
|
|
@ -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")
|
|
|
|
|