| Conditions | 4 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python |
||
| 11 | def test_command_line_interface(): |
||
| 12 | """Test the CLI.""" |
||
| 13 | runner = CliRunner() |
||
| 14 | result = runner.invoke(cli.main) |
||
| 15 | assert result.exit_code == 0 |
||
| 16 | |||
| 17 | help_result = runner.invoke(cli.main, ['--help']) |
||
| 18 | assert help_result.exit_code == 0 |
||
| 19 | assert '--help Show this message and exit.' in help_result.output |
||
| 20 |