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

Function test_status

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

Source from the content-addressed store, hash-verified

46
47
48def test_status(fp, repository):
49 fp.register(
50 ["git", "status", "--branch", "--porcelain"],
51 stdout="## main...origin/main [ahead 1]\n",
52 )
53 assert repository.status() == "## main...origin/main [ahead 1]"
54
55
56def test_has_uncommitted_changes(fp, repository):

Callers

nothing calls this directly

Calls 2

statusMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected