fix(tests): apply ruff format after rebase resolution
The collection_name plumbing rebase produced a few unformatted blocks in test_mcp_server.py and test_searcher.py; bringing them in line with the 0.4.x CI pin so test-windows / lint stay green.
This commit is contained in:
@@ -327,9 +327,9 @@ class TestSearchCLI:
|
||||
captured = capsys.readouterr()
|
||||
first_block, _, _ = captured.out.partition("[2]")
|
||||
# Lexical match must rank first
|
||||
assert "b.md" in first_block, (
|
||||
f"expected lexical match 'b.md' at rank 1, got:\n{captured.out}"
|
||||
)
|
||||
assert (
|
||||
"b.md" in first_block
|
||||
), f"expected lexical match 'b.md' at rank 1, got:\n{captured.out}"
|
||||
# Non-zero bm25 reported
|
||||
assert "bm25=" in first_block
|
||||
assert "bm25=0.0" not in first_block
|
||||
|
||||
Reference in New Issue
Block a user