MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_get_branch

Method test_get_branch

tests/test_git_utilities.py:74–76  ·  view source on GitHub ↗
(self, git_repo)

Source from the content-addressed store, hash-verified

72
73class TestGetCurrentBranch:
74 def test_get_branch(self, git_repo):
75 branch = get_current_branch(git_repo)
76 assert branch in ("main", "master")
77
78
79class TestGetDefaultBranch:

Callers

nothing calls this directly

Calls 1

get_current_branchFunction · 0.90

Tested by

no test coverage detected