Lint
This commit is contained in:
@@ -246,9 +246,9 @@ class TestCollaborationWorkflow:
|
|||||||
)
|
)
|
||||||
|
|
||||||
response = json.loads(result[0].text)
|
response = json.loads(result[0].text)
|
||||||
assert response["status"] == "requires_clarification", (
|
assert (
|
||||||
"Should request clarification when asked about dependencies without package files"
|
response["status"] == "requires_clarification"
|
||||||
)
|
), "Should request clarification when asked about dependencies without package files"
|
||||||
|
|
||||||
clarification = json.loads(response["content"])
|
clarification = json.loads(response["content"])
|
||||||
assert "package.json" in str(clarification["files_needed"]), "Should specifically request package.json"
|
assert "package.json" in str(clarification["files_needed"]), "Should specifically request package.json"
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ class TestThinkingModes:
|
|||||||
]
|
]
|
||||||
|
|
||||||
for tool, expected_default in tools:
|
for tool, expected_default in tools:
|
||||||
assert tool.get_default_thinking_mode() == expected_default, (
|
assert (
|
||||||
f"{tool.__class__.__name__} should default to {expected_default}"
|
tool.get_default_thinking_mode() == expected_default
|
||||||
)
|
), f"{tool.__class__.__name__} should default to {expected_default}"
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
@patch("tools.base.BaseTool.get_model_provider")
|
@patch("tools.base.BaseTool.get_model_provider")
|
||||||
|
|||||||
Reference in New Issue
Block a user