Conditions | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # -*- coding: utf-8 -*- |
||
34 | def test_local_repo_typo(): |
||
35 | """An unknown local repository should raise a `RepositoryNotFound` |
||
36 | exception. |
||
37 | """ |
||
38 | with pytest.raises(exceptions.RepositoryNotFound): |
||
39 | repository.determine_repo_dir( |
||
40 | 'tests/unknown-repo', |
||
41 | abbreviations={}, |
||
42 | clone_to_dir=None, |
||
43 | checkout=None, |
||
44 | no_input=True |
||
45 | ) |
||
46 |