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

Function repository

lib/cli/tests/test_git.py:8–12  ·  view source on GitHub ↗
(fp)

Source from the content-addressed store, hash-verified

6
7@pytest.fixture()
8def repository(fp):
9 fp.register(["git", "--version"], stdout="git version 2.30.0\n")
10 fp.register(["git", "rev-parse", "--is-inside-work-tree"], stdout="true\n")
11 fp.register(["git", "fetch"], stdout="")
12 return Repository(path=".")
13
14
15def test_init_with_invalid_git_repo(fp):

Callers

nothing calls this directly

Calls 2

RepositoryClass · 0.90
registerMethod · 0.45

Tested by

no test coverage detected