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

Function test_is_synced_when_synced

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

Source from the content-addressed store, hash-verified

70
71
72def test_is_synced_when_synced(fp, repository):
73 fp.register(
74 ["git", "status", "--branch", "--porcelain"], stdout="## main...origin/main\n"
75 )
76 fp.register(
77 ["git", "status", "--branch", "--porcelain"], stdout="## main...origin/main\n"
78 )
79 assert repository.is_synced() is True
80
81
82def test_is_synced_with_uncommitted_changes(fp, repository):

Callers

nothing calls this directly

Calls 2

is_syncedMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected