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

Function test_deployable_files_uses_git_excludes

lib/cli/tests/test_git.py:151–157  ·  view source on GitHub ↗
(fp, repository)

Source from the content-addressed store, hash-verified

149
150
151def test_deployable_files_uses_git_excludes(fp, repository):
152 fp.register(
153 ["git", "ls-files", "--cached", "--others", "--exclude-standard"],
154 stdout="pyproject.toml\nsrc/main.py\n",
155 )
156
157 assert repository.deployable_files() == ["pyproject.toml", "src/main.py"]
158
159
160def _git(cwd, *args: str) -> str:

Callers

nothing calls this directly

Calls 2

registerMethod · 0.45
deployable_filesMethod · 0.45

Tested by

no test coverage detected