For every file in the status, check that the flags are correct.
(dirtyrepo: Repository)
| 30 | |
| 31 | |
| 32 | def test_status(dirtyrepo: Repository) -> None: |
| 33 | """ |
| 34 | For every file in the status, check that the flags are correct. |
| 35 | """ |
| 36 | git_status = dirtyrepo.status() |
| 37 | for filepath, status in git_status.items(): |
| 38 | assert filepath in git_status |
| 39 | assert status == git_status[filepath] |
| 40 | |
| 41 | |
| 42 | def test_status_untracked_no(dirtyrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…