Skip to content

Commit 281257c

Browse files
cliffhallclaude
andauthored
test(fetch): cite the newly filed issues in KNOWN BUG markers
The bugs these tests pin had no issue when the markers were added, so the markers read "KNOWN BUG (no issue)". They are now filed under the Wave 2 tracker #5004, so each marker cites its issue number. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent cd22b5c commit 281257c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/fetch/tests/test_protocol.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def test_invalid_url_is_rejected_by_pydantic(web: FakeWeb, url: str) -> No
218218
assert web.requests == []
219219

220220

221-
# KNOWN BUG (no issue): call_tool ignores the tool name and runs fetch for any name; the fix changes this assertion.
221+
# KNOWN BUG #4988: call_tool ignores the tool name and runs fetch for any name; the fix changes this assertion.
222222
async def test_call_tool_never_checks_the_tool_name(web: FakeWeb) -> None:
223223
# Characterizes call_tool ignoring `name`: an unknown tool name is not
224224
# rejected, the SDK skips schema validation for it (the tool is not
@@ -232,7 +232,7 @@ async def test_call_tool_never_checks_the_tool_name(web: FakeWeb) -> None:
232232
assert web.urls() == [ROBOTS, PAGE]
233233

234234

235-
# KNOWN BUG (no issue): call_tool ignores the tool name and runs fetch for any name; the fix changes this assertion.
235+
# KNOWN BUG #4988: call_tool ignores the tool name and runs fetch for any name; the fix changes this assertion.
236236
async def test_unknown_tool_name_still_validates_through_pydantic(
237237
web: FakeWeb,
238238
) -> None:
@@ -451,7 +451,7 @@ async def test_html_without_node_falls_back_to_pure_python(web: FakeWeb) -> None
451451
assert "https://example.com/x" not in text
452452

453453

454-
# KNOWN BUG (no issue): an empty page without Node reports "No more content available" at start_index 0 instead of a simplification failure; the fix changes this assertion.
454+
# KNOWN BUG #4989: an empty page without Node reports "No more content available" at start_index 0 instead of a simplification failure; the fix changes this assertion.
455455
@pytest.mark.usefixtures("python_readability")
456456
async def test_empty_html_without_node_reads_as_no_more_content(web: FakeWeb) -> None:
457457
# The pure-Python extractor never returns empty content, so the
@@ -785,7 +785,7 @@ async def test_get_prompt_without_url_is_a_jsonrpc_error(
785785
assert web.requests == []
786786

787787

788-
# KNOWN BUG (no issue): get_prompt ignores the prompt name and serves fetch for any name; the fix changes this assertion.
788+
# KNOWN BUG #4988: get_prompt ignores the prompt name and serves fetch for any name; the fix changes this assertion.
789789
async def test_get_prompt_never_checks_the_prompt_name(web: FakeWeb) -> None:
790790
# Like call_tool, get_prompt ignores `name`.
791791
web.add(PAGE, plain("ok"))

0 commit comments

Comments
 (0)