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

Function fail

lib/cli/tests/test_api_keys.py:109–110  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

107@pytest.fixture
108def no_prompt(monkeypatch: pytest.MonkeyPatch) -> None:
109 def fail(*args: Any, **kwargs: Any) -> str:
110 raise AssertionError(f"prompted: {args}")
111
112 monkeypatch.setattr(click, "prompt", fail)
113

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected