Conditions | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | # pylint: disable=redefined-outer-name,unused-variable,expression-not-assigned,singleton-comparison |
||
20 | def when_config_missing(runner, tmpdir): |
||
21 | tmpdir.chdir() |
||
22 | |||
23 | result = runner.invoke(main, ['--init']) |
||
24 | |||
25 | expect(result.output) == ( |
||
26 | "Generated config file: {}/env-diff.yml\n".format(tmpdir) + |
||
27 | "Edit this file to match your application\n" |
||
28 | ) |
||
29 | expect(result.exit_code) == 0 |
||
30 | |||
41 |