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

Source from the content-addressed store, hash-verified

251
252
253def test_missing_project_name_errors(tmp_path: Path) -> None:
254 (tmp_path / "pyproject.toml").write_text(
255 '[project]\nversion = "0.1.0"\ndependencies = ["crewai>=1.14.0"]\n'
256 )
257 v = _run_without_import_check(tmp_path)
258 assert "missing_project_name" in _codes(v)
259
260
261def test_missing_lockfile_errors(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

_codesFunction · 0.85

Tested by

no test coverage detected