(fp, repository)
| 54 | |
| 55 | |
| 56 | def test_has_uncommitted_changes(fp, repository): |
| 57 | fp.register( |
| 58 | ["git", "status", "--branch", "--porcelain"], |
| 59 | stdout="## main...origin/main\n M somefile.txt\n", |
| 60 | ) |
| 61 | assert repository.has_uncommitted_changes() is True |
| 62 | |
| 63 | |
| 64 | def test_is_ahead_or_behind(fp, repository): |
nothing calls this directly
no test coverage detected