Fixed invalid test assumptions

This commit is contained in:
Fahad
2025-06-11 18:49:30 +04:00
parent 8a869661bb
commit b0f17f741f
2 changed files with 13 additions and 10 deletions

View File

@@ -186,8 +186,8 @@ class TestCrossToolContinuation:
response = await self.review_tool.execute(arguments)
response_data = json.loads(response[0].text)
# Should successfully continue the conversation
assert response_data["status"] == "success"
# Should offer continuation since there are remaining turns available
assert response_data["status"] == "continuation_available"
assert "Critical security vulnerability confirmed" in response_data["content"]
# Step 4: Verify the cross-tool continuation worked
@@ -307,7 +307,7 @@ class TestCrossToolContinuation:
response = await self.review_tool.execute(arguments)
response_data = json.loads(response[0].text)
assert response_data["status"] == "success"
assert response_data["status"] == "continuation_available"
# Verify files from both tools are tracked in Redis calls
setex_calls = mock_client.setex.call_args_list