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

Function test_has_uncommitted_changes

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

Source from the content-addressed store, hash-verified

54
55
56def test_has_uncommitted_changes(fp, repository):
57 fp.register(
58 ["git", "status", "--branch", "--porcelain"],
59 stdout="## main...origin/main\n M somefile.txt\n",
60 )
61 assert repository.has_uncommitted_changes() is True
62
63
64def test_is_ahead_or_behind(fp, repository):

Callers

nothing calls this directly

Calls 2

registerMethod · 0.45

Tested by

no test coverage detected