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:247–250  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

245
246
247def test_invalid_pyproject_errors(tmp_path: Path) -> None:
248 (tmp_path / "pyproject.toml").write_text("this is not valid toml ====\n")
249 v = _run_without_import_check(tmp_path)
250 assert "invalid_pyproject" in _codes(v)
251
252
253def 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