(fp, repository)
| 46 | |
| 47 | |
| 48 | def test_status(fp, repository): |
| 49 | fp.register( |
| 50 | ["git", "status", "--branch", "--porcelain"], |
| 51 | stdout="## main...origin/main [ahead 1]\n", |
| 52 | ) |
| 53 | assert repository.status() == "## main...origin/main [ahead 1]" |
| 54 | |
| 55 | |
| 56 | def test_has_uncommitted_changes(fp, repository): |