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

Method test_with_changes

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

Source from the content-addressed store, hash-verified

135 assert result.diff_text == ""
136
137 def test_with_changes(self, git_repo):
138 with open(os.path.join(git_repo, "README.md"), "a") as f:
139 f.write("added line\n")
140 result = get_session_diff(git_repo)
141 assert result.diff_text != ""
142
143
144class TestCreateBranch:

Callers

nothing calls this directly

Calls 3

get_session_diffFunction · 0.90
joinMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected