18 lines
645 B
Python
18 lines
645 B
Python
import pytest
|
|
|
|
def test_agent_capabilities_config():
|
|
# A dummy test to fulfill the Red Phase for Agent Capability Configuration.
|
|
# The new function in gui.py should be get_active_tools() or we check the project dict.
|
|
from project_manager import default_project
|
|
|
|
proj = default_project("test_proj")
|
|
|
|
# We expect 'agent' config to exist in a default project and list tools
|
|
assert "agent" in proj
|
|
assert "tools" in proj["agent"]
|
|
|
|
# By default, all tools should probably be True or defined
|
|
tools = proj["agent"]["tools"]
|
|
assert "run_powershell" in tools
|
|
assert tools["run_powershell"] is True
|