(testrepo: Repository)
| 114 | |
| 115 | |
| 116 | def test_add_all_aspath(testrepo: Repository) -> None: |
| 117 | clear(testrepo) |
| 118 | |
| 119 | index = testrepo.index |
| 120 | index.add_all([Path('bye.txt'), Path('hello.txt')]) |
| 121 | assert 'bye.txt' in index |
| 122 | assert 'hello.txt' in index |
| 123 | |
| 124 | |
| 125 | def clear(repo: Repository) -> None: |