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

Method test_modified_file

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

Source from the content-addressed store, hash-verified

88 assert status == []
89
90 def test_modified_file(self, git_repo):
91 with open(os.path.join(git_repo, "README.md"), "a") as f:
92 f.write("more content\n")
93 status = get_file_status(git_repo)
94 assert len(status) >= 1
95 assert any(s.path == "README.md" for s in status)
96
97 def test_new_file(self, git_repo):
98 with open(os.path.join(git_repo, "new.txt"), "w") as f:

Callers

nothing calls this directly

Calls 3

get_file_statusFunction · 0.90
joinMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected