(
dirtyrepo: Repository, untracked_files: str, expected: set[str]
)
| 69 | ], |
| 70 | ) |
| 71 | def test_status_untracked_normal( |
| 72 | dirtyrepo: Repository, untracked_files: str, expected: set[str] |
| 73 | ) -> None: |
| 74 | git_status = dirtyrepo.status(untracked_files=untracked_files) |
| 75 | assert { |
| 76 | file for file, status in git_status.items() if status & FileStatus.WT_NEW |
| 77 | } == expected |
| 78 | |
| 79 | |
| 80 | @pytest.mark.parametrize('ignored,expected', [(True, {'ignored'}), (False, set())]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…