Skip to content

Commit bf67ba6

Browse files
committed
ruff
1 parent 08f2570 commit bf67ba6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/server/test_completion_with_context.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,16 @@ async def handle_completion(
165165
ref=ResourceTemplateReference(type="ref/resource", uri="db://{database}/{table}"),
166166
argument={"name": "table", "value": ""},
167167
)
168-
168+
169169
# Verify error message
170170
assert "Please select a database first" in str(exc_info.value)
171-
171+
172172
# Now complete with proper context - should work normally
173173
result_with_context = await client.complete(
174174
ref=ResourceTemplateReference(type="ref/resource", uri="db://{database}/{table}"),
175175
argument={"name": "table", "value": ""},
176176
context_arguments={"database": "test_db"},
177177
)
178-
178+
179179
# Should get normal completions
180180
assert result_with_context.completion.values == ["users", "orders", "products"]

0 commit comments

Comments
 (0)