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

Function test_invalid_pyproject_errors

lib/cli/tests/deploy/test_validate.py:275–278  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

273
274
275def test_invalid_pyproject_errors(tmp_path: Path) -> None:
276 (tmp_path / "pyproject.toml").write_text("this is not valid toml ====\n")
277 v = _run_without_import_check(tmp_path)
278 assert "invalid_pyproject" in _codes(v)
279
280
281def test_missing_project_name_errors(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

_codesFunction · 0.85

Tested by

no test coverage detected