(self, git_repo)
| 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: |
nothing calls this directly
no test coverage detected