diff options
author | vitiko98 <[email protected]> | 2022-05-22 02:49:54 -0400 |
---|---|---|
committer | vitiko98 <[email protected]> | 2022-05-23 22:46:20 -0400 |
commit | d3e5dc34d72a5033d123b44f014861d79c345db9 (patch) | |
tree | 650dcada0828c9372bd482c55cc1b41824bf2381 /tests | |
parent | fde1e0e069bcf09cd1cc8176167cf5b95ac0bc32 (diff) | |
download | bazarr-d3e5dc34d72a5033d123b44f014861d79c345db9.tar.gz bazarr-d3e5dc34d72a5033d123b44f014861d79c345db9.zip |
no log: add providers utility
Diffstat (limited to 'tests')
-rw-r--r-- | tests/subliminal_patch/test_utils.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/subliminal_patch/test_utils.py b/tests/subliminal_patch/test_utils.py index de082a0bc..e4a8b4efb 100644 --- a/tests/subliminal_patch/test_utils.py +++ b/tests/subliminal_patch/test_utils.py @@ -53,3 +53,10 @@ def test_update_matches(movies): matches, movies["dune"], "Subs for dune 2021 bluray x264\nDune webrip x264" ) assert "source" in matches + + + "content,expected", [("the.wire.s01e01", True), ("taxi driver 1976", False)] +) +def test_is_episode(content, expected): + assert utils.is_episode(content) is expected |