Conditions | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # pylint: disable=redefined-outer-name,unused-variable,expression-not-assigned,singleton-comparison |
||
31 | def describe_run(): |
||
32 | |||
33 | def when_config_missing(runner, tmpdir): |
||
34 | tmpdir.chdir() |
||
35 | |||
36 | result = runner.invoke(main, []) |
||
37 | |||
38 | expect(result.output) == \ |
||
39 | "No config file found, generate one with '--init'\n" |
||
40 | expect(result.exit_code) == 1 |
||
41 |