(testrepo: Repository)
| 258 | |
| 259 | |
| 260 | def test_checkout_alternative_dir(testrepo: Repository) -> None: |
| 261 | ref_i18n = testrepo.lookup_reference('refs/heads/i18n') |
| 262 | extra_dir = Path(testrepo.workdir) / 'extra-dir' |
| 263 | extra_dir.mkdir() |
| 264 | assert len(list(extra_dir.iterdir())) == 0 |
| 265 | testrepo.checkout(ref_i18n, directory=extra_dir) |
| 266 | assert not len(list(extra_dir.iterdir())) == 0 |
| 267 | |
| 268 | |
| 269 | def test_checkout_paths(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…