(fp, repository)
| 80 | |
| 81 | |
| 82 | def test_is_synced_with_uncommitted_changes(fp, repository): |
| 83 | fp.register( |
| 84 | ["git", "status", "--branch", "--porcelain"], |
| 85 | stdout="## main...origin/main\n M somefile.txt\n", |
| 86 | ) |
| 87 | assert repository.is_synced() is False |
| 88 | |
| 89 | |
| 90 | def test_is_synced_when_ahead_or_behind(fp, repository): |