We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95da6fe commit 189dda3Copy full SHA for 189dda3
tests/test_prompts.py
@@ -28,7 +28,7 @@ async def test_jupyter_cite(mcp_client_parametrized: MCPClient):
28
# Test prompt injection
29
response = await mcp_client_parametrized.jupyter_cite(prompt="test prompt", cell_indices="0")
30
assert "# Matplotlib Examples" in response[0], "Cell 0 should contain Matplotlib Examples"
31
- assert "test prompt" not in response[0], "Prompt should not be injected"
+ assert "test prompt" in response[0], "Prompt should be injected"
32
# Test mixed cell_indices
33
response = await mcp_client_parametrized.jupyter_cite(prompt="", cell_indices="0-2,4")
34
assert "USER Cite cells [0, 1, 2, 4]" in response[0], "Cell indices should be [0, 1, 2, 4]"
0 commit comments