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

Function refuse

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

Source from the content-addressed store, hash-verified

294 at_a_terminal(monkeypatch, "sk-pasted")
295
296 def refuse(*args: Any, **kwargs: Any) -> None:
297 raise PermissionError(1, "Operation not permitted")
298
299 monkeypatch.setattr(os, "chmod", refuse)
300

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected