Conditions | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | # -*- coding: utf-8 -*- |
||
20 | def test_local_repo_with_no_context_raises(): |
||
21 | """A local repository without a cookiecutter.json should raise a |
||
22 | `RepositoryNotFound` exception. |
||
23 | """ |
||
24 | with pytest.raises(exceptions.RepositoryNotFound): |
||
25 | repository.determine_repo_dir( |
||
26 | 'tests/fake-repo-bad', |
||
27 | abbreviations={}, |
||
28 | clone_to_dir=None, |
||
29 | checkout=None, |
||
30 | no_input=True |
||
31 | ) |
||
46 |