fix: skip tests when atroposlib/minisweagent unavailable in CI

- test_agent_loop_tool_calling.py: import atroposlib at module level
  to trigger skip (environments.agent_loop is now importable without
  atroposlib due to __init__.py graceful fallback)
- test_modal_sandbox_fixes.py: skip TestToolResolution tests when
  minisweagent not installed
This commit is contained in:
dmahan93 2026-03-09 23:37:32 -05:00 committed by teknium1
parent d198a647e2
commit 59b53f0a23
2 changed files with 12 additions and 0 deletions

View file

@ -35,6 +35,7 @@ if str(_repo_root) not in sys.path:
try:
from environments.agent_loop import AgentResult, HermesAgentLoop
from atroposlib.envs.server_handling.openai_server import OpenAIServer # noqa: F401
except ImportError:
pytest.skip("atroposlib not installed", allow_module_level=True)