diff options
author | Antoine Aflalo <[email protected]> | 2023-03-02 04:11:50 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-01 22:11:50 -0500 |
commit | 248e49de76c4a94e9dc6db9166521b8527f476bc (patch) | |
tree | 5efecb2ceece0277a7f75021c681609833f7de0c /tests | |
parent | e4bf041ecb4921c8829ab60b8de13fde982cd20e (diff) | |
download | bazarr-248e49de76c4a94e9dc6db9166521b8527f476bc.tar.gz bazarr-248e49de76c4a94e9dc6db9166521b8527f476bc.zip |
Improved Gestdown provider to get better matches using tvdb idv1.2.0v1.1.5-beta.27
Diffstat (limited to 'tests')
-rw-r--r-- | tests/subliminal_patch/conftest.py | 2 | ||||
-rw-r--r-- | tests/subliminal_patch/test_gestdown.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/subliminal_patch/conftest.py b/tests/subliminal_patch/conftest.py index 07c79e9d2..6dd0dd559 100644 --- a/tests/subliminal_patch/conftest.py +++ b/tests/subliminal_patch/conftest.py @@ -123,6 +123,7 @@ def episodes(): 1, 1, source="Blu-Ray", + series_tvdb_id=81189, series_imdb_id="tt0903747", release_group="REWARD", resolution="720p", @@ -133,6 +134,7 @@ def episodes(): "Better Call Saul", 6, 4, + series_tvdb_id=273181, source="Web", resolution="720p", video_codec="H.264", diff --git a/tests/subliminal_patch/test_gestdown.py b/tests/subliminal_patch/test_gestdown.py index 117430a1d..35749d7e7 100644 --- a/tests/subliminal_patch/test_gestdown.py +++ b/tests/subliminal_patch/test_gestdown.py @@ -79,7 +79,7 @@ def test_subtitle_download(subtitle): def test_list_subtitles_423(episodes, requests_mock, mocker): mocker.patch("time.sleep") requests_mock.get( - "https://api.gestdown.info/shows/search/Breaking%20Bad", + "https://api.gestdown.info/shows/external/tvdb/81189", status_code=200, text='{"shows":[{"id":"cd880e2e-ef44-47cd-9f3d-a03b343ba2d0","name":"Breaking Bad","nbSeasons":5,"seasons":[1,2,3,4,5]}]}' ) |