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

Function test_missing_project_name_errors

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

Source from the content-addressed store, hash-verified

279
280
281def test_missing_project_name_errors(tmp_path: Path) -> None:
282 (tmp_path / "pyproject.toml").write_text(
283 '[project]\nversion = "0.1.0"\ndependencies = ["crewai>=1.14.0"]\n'
284 )
285 v = _run_without_import_check(tmp_path)
286 assert "missing_project_name" in _codes(v)
287
288
289def test_missing_lockfile_errors(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

_codesFunction · 0.85

Tested by

no test coverage detected