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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_codesFunction · 0.85

Tested by

no test coverage detected