MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / without_api_keys

Function without_api_keys

lib/cli/tests/test_run_usage.py:1175–1179  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch, *names: str)

Source from the content-addressed store, hash-verified

1173
1174
1175def without_api_keys(monkeypatch: pytest.MonkeyPatch, *names: str) -> None:
1176 for name in names:
1177 # Set first, so teardown restores it even after the run exports a key.
1178 monkeypatch.setenv(name, "")
1179 monkeypatch.delenv(name)
1180
1181
1182def two_provider_json_crew(folder: Path) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected