(temp_git_repo)
| 68 | |
| 69 | |
| 70 | def test_git_commit_file(temp_git_repo): |
| 71 | test_file = os.path.join(temp_git_repo.working_dir, "test.txt") |
| 72 | with open(test_file, "w") as f: |
| 73 | f.write("Test content") |
| 74 | |
| 75 | git_commit_file(temp_git_repo, "test.txt", "Test commit") |
| 76 | |
| 77 | assert "test.txt" in temp_git_repo.git.ls_files().split() |
| 78 | |
| 79 | |
| 80 | def test_git_commit_mods(temp_git_repo): |
nothing calls this directly
no test coverage detected
searching dependent graphs…