aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_season_and_search_requests.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-30 17:05:15 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-30 17:05:15 +0200
commitd5fc45ff907e618d884a8d2d91c1f2b45e6898d1 (patch)
treeb368ee90e99254e6d66f0a22324d9d25c5dd0a4a /packages/meshbay-node/tests/test_season_and_search_requests.py
parentb206dc86221d453c699074749f59f1d7cb3d47dc (diff)
downloadmeshbay-d5fc45ff907e618d884a8d2d91c1f2b45e6898d1.tar.gz
chore: scrub copyrighted names from tests, comments and docs
Real franchise / show / release-group names had crept back into test fixtures, code comments, a docstring and docs/mediacenter.md while fixing the saga-match and misclassification bugs. Replace them all with invented placeholders ("Some Saga", "A Different Show") and shape descriptions ("a franchise-origin film", "a 3-season show"). Behaviour and assertions unchanged; 738 node tests still pass. Record the rule in CLAUDE.md so it stops recurring. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v
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"