Conditions | 3 |
Total Lines | 16 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
22 | def test_install_no_run(tmp_path): |
||
23 | scripts_path = tmp_path / "scripts" |
||
24 | with patch.object( |
||
25 | sys, |
||
26 | "argv", |
||
27 | [ |
||
28 | "devenv", |
||
29 | None, |
||
30 | None, |
||
31 | "--install_scripts", |
||
32 | "--scripts_path", |
||
33 | str(scripts_path), |
||
34 | ], |
||
35 | ): |
||
36 | with pytest.raises(SystemExit): |
||
37 | main(parse_args()) |
||
38 | |||
52 |