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

Function test_an_unparseable_pyproject

lib/cli/tests/test_run_usage.py:263–269  ·  view source on GitHub ↗
(project, usage)

Source from the content-addressed store, hash-verified

261
262
263def test_an_unparseable_pyproject(project, usage) -> None:
264 write(project / "pyproject.toml", "this is = = not toml")
265
266 result = crewai_run()
267
268 assert isinstance(result.exception, ValueError)
269 assert usage == [started("unknown"), stopped("invalid_project")]
270
271
272@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

startedFunction · 0.85
stoppedFunction · 0.85
writeFunction · 0.70
crewai_runFunction · 0.70

Tested by

no test coverage detected