aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_musicbrainz.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_musicbrainz.py')
-rw-r--r--packages/meshbay-node/tests/test_musicbrainz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/meshbay-node/tests/test_musicbrainz.py b/packages/meshbay-node/tests/test_musicbrainz.py
index cff7fea..ccf7597 100644
--- a/packages/meshbay-node/tests/test_musicbrainz.py
+++ b/packages/meshbay-node/tests/test_musicbrainz.py
@@ -156,7 +156,8 @@ async def test_no_contact_configured_makes_no_request():
result, ratio = await client.search_release("Anyone", "Anything")
assert result is None
- assert calls == [], "an unidentified client must never be sent — see musicbay.md §3.1"
+ assert calls == [], ("an unidentified client must never be sent "
+ "— see docs/MESHBAY_DESIGN.md §9.8")
await client.close()
@@ -227,7 +228,7 @@ async def test_cover_art_found_returns_bytes():
@pytest.mark.asyncio
async def test_calls_are_paced_at_least_min_interval_apart():
"""
- docs/musicbay.md §3.2: the ~1 req/s courtesy limit is this node's own
+ docs/MESHBAY_DESIGN.md §9.8: the ~1 req/s courtesy limit is this node's own
job, not something the server hands out — verified by timing two calls
back to back rather than mocking the clock, so a change to the pacing
implementation that still meets the contract doesn't break this test.