aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_season_and_search_requests.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_season_and_search_requests.py')
-rw-r--r--packages/meshbay-node/tests/test_season_and_search_requests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/meshbay-node/tests/test_season_and_search_requests.py b/packages/meshbay-node/tests/test_season_and_search_requests.py
index 856797e..44d7da6 100644
--- a/packages/meshbay-node/tests/test_season_and_search_requests.py
+++ b/packages/meshbay-node/tests/test_season_and_search_requests.py
@@ -161,9 +161,9 @@ async def test_search_movie_calls_movie_search_and_echoes_media_type(media_cache
client = FakeTmdbClient()
session = _session(media_cache=media_cache, tmdb_client=client)
- await session._do_tmdb_search_request({"query": "War of the Worlds", "media_type": "movie"})
+ await session._do_tmdb_search_request({"query": "Some Show", "media_type": "movie"})
- assert client.movie_search_calls == ["War of the Worlds"]
+ assert client.movie_search_calls == ["Some Show"]
assert client.tv_search_calls == []
resp = session.sent[0]
assert resp["type"] == MNP.TMDB_SEARCH_RESP
@@ -172,7 +172,7 @@ async def test_search_movie_calls_movie_search_and_echoes_media_type(media_cache
"search for the same query are indistinguishable to the client's "
"keyed response matching (transport.js tmdb_search_resp handler)")
assert resp["results"] == [{
- "tmdb_id": "111", "title": "War of the Worlds", "year": "2019",
+ "tmdb_id": "111", "title": "Some Show", "year": "2019",
"poster_thumb_hash": resp["results"][0]["poster_thumb_hash"],
}]
@@ -181,8 +181,8 @@ async def test_search_tv_calls_tv_search(media_cache):
client = FakeTmdbClient()
session = _session(media_cache=media_cache, tmdb_client=client)
- await session._do_tmdb_search_request({"query": "War of the Worlds", "media_type": "tv"})
+ await session._do_tmdb_search_request({"query": "Some Show", "media_type": "tv"})
- assert client.tv_search_calls == ["War of the Worlds"]
+ assert client.tv_search_calls == ["Some Show"]
assert client.movie_search_calls == []
assert session.sent[0]["media_type"] == "tv"