From d5fc45ff907e618d884a8d2d91c1f2b45e6898d1 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 30 Aug 2026 17:05:15 +0200 Subject: 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 Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v --- packages/meshbay-node/tests/test_season_and_search_requests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/meshbay-node/tests/test_season_and_search_requests.py') 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" -- cgit v1.2.3