(tmp_path: Path)
| 284 | |
| 285 | |
| 286 | def 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 | |
| 294 | def test_missing_lockfile_errors(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected