This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/tests
Adam Moussa 2bb8365972 Fix golden-set collection when provider keys are absent
CI's `pytest --collect-only` was exiting 5 (no tests collected) because
the test module used `pytest.skip(..., allow_module_level=True)` at
import time — skipped modules never enter the collection phase.

Switch to a per-test `skipif` marker driven by ANTHROPIC_API_KEY +
COMPOSIO_API_KEY presence, and lazy-import `graph.router_node` inside
the test body so module import works without COMPOSIO_API_KEY.

Result: 21 tests collect in both environments; live tests run only
when both keys are present. Verified locally with env -i.
2026-05-15 13:18:04 -04:00
..
__init__.py Stabilize router and consolidate agent registry 2026-05-15 11:20:28 -04:00
conftest.py Stabilize router and consolidate agent registry 2026-05-15 11:20:28 -04:00
test_routing_golden.py Fix golden-set collection when provider keys are absent 2026-05-15 13:18:04 -04:00