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

Function test_is_synced_with_uncommitted_changes

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

Source from the content-addressed store, hash-verified

80
81
82def test_is_synced_with_uncommitted_changes(fp, repository):
83 fp.register(
84 ["git", "status", "--branch", "--porcelain"],
85 stdout="## main...origin/main\n M somefile.txt\n",
86 )
87 assert repository.is_synced() is False
88
89
90def test_is_synced_when_ahead_or_behind(fp, repository):

Callers

nothing calls this directly

Calls 2

is_syncedMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected