test: hold the show collection's type, an unknown title's 404 and Brave's fullscreen stand-in

This commit is contained in:
2026-10-08 21:18:48 +02:00
parent 48bd038c5f
commit 24ad17fc7d
4 changed files with 23 additions and 2 deletions
@@ -78,5 +78,9 @@ def test_a_show_lists_its_own_librarys(db, monkeypatch, override_dep):
assert [(c["id"], c["contains"]) for c in resp.json()["collections"]] == [("cT", False)]
def test_an_episode_or_an_unknown_key_is_not_a_collection_member(db, monkeypatch, override_dep):
def test_an_episode_is_not_a_collection_member(db, monkeypatch, override_dep):
assert _get(db, monkeypatch, override_dep, "e1").status_code == 404
def test_an_unknown_key_is_not_found(db, monkeypatch, override_dep):
assert _get(db, monkeypatch, override_dep, "nope").status_code == 404