| Conditions | 5 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python |
||
| 30 | def test_command_line_interface(): |
||
| 31 | """Test the CLI.""" |
||
| 32 | runner = CliRunner() |
||
| 33 | result = runner.invoke(cli.main) |
||
| 34 | assert result.exit_code == 0 |
||
| 35 | assert 'module_renamer.cli.main' in result.output |
||
| 36 | help_result = runner.invoke(cli.main, ['--help']) |
||
| 37 | assert help_result.exit_code == 0 |
||
| 38 | assert '--help Show this message and exit.' in help_result.output |
||
| 39 |