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_tmdb_override_policy.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/meshbay-node/tests/test_tmdb_override_policy.py') diff --git a/packages/meshbay-node/tests/test_tmdb_override_policy.py b/packages/meshbay-node/tests/test_tmdb_override_policy.py index 0717a0c..d434e1a 100644 --- a/packages/meshbay-node/tests/test_tmdb_override_policy.py +++ b/packages/meshbay-node/tests/test_tmdb_override_policy.py @@ -116,7 +116,7 @@ async def test_a_request_with_nobody_to_authorize_it_is_refused(tmp_path): async def test_a_valid_request_is_signed(tmp_path): session = _session(tmp_path, "op", operator="op") - entry = _entry("shared", "ep.mkv", "War of the Worlds") + entry = _entry("shared", "ep.mkv", "Some Show") session._ctx["index"].add_entry(entry) session._has_admin_authority = lambda: True issued = [] @@ -138,8 +138,8 @@ async def test_two_files_in_the_same_folder_are_told_apart(tmp_path): own, distinct entries. """ session = _session(tmp_path, "op", operator="op") - e1 = _entry("shared/Season 1", "s01e01.mkv", "War of the Worlds") - e2 = _entry("shared/Season 1", "s01e02.mkv", "War of the Worlds") + e1 = _entry("shared/Season 1", "s01e01.mkv", "Some Show") + e2 = _entry("shared/Season 1", "s01e02.mkv", "Some Show") session._ctx["index"].add_entry(e1) session._ctx["index"].add_entry(e2) session._has_admin_authority = lambda: True @@ -157,9 +157,9 @@ async def test_two_files_in_the_same_folder_are_told_apart(tmp_path): async def test_override_updates_every_entry_sharing_the_display_title(tmp_path): session = _session(tmp_path, "op", operator="op") index = session._ctx["index"] - s1 = _entry("shared/S1", "s01e01.mkv", "War of the Worlds") - s2 = _entry("shared/S2", "s02e01.mkv", "War of the Worlds") - s3 = _entry("shared/S3", "s03e02.mkv", "War of the Worlds") + s1 = _entry("shared/S1", "s01e01.mkv", "Some Show") + s2 = _entry("shared/S2", "s02e01.mkv", "Some Show") + s3 = _entry("shared/S3", "s03e02.mkv", "Some Show") other_show = _entry("shared/Other", "ep.mkv", "A Different Show") for e in (s1, s2, s3, other_show): index.add_entry(e) -- cgit v1.2.3