Conditions | 2 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python |
||
25 | def test_cli_jupyter(): |
||
26 | """Test the CLI on Jupyter sub-commands.""" |
||
27 | runner = CliRunner() |
||
28 | print() |
||
29 | with runner.isolated_filesystem(): |
||
30 | # test = ['jupyter', "new", "test", "--name", "test_name"] |
||
31 | test = ['jupyter'] |
||
32 | msg = "Testing CLI with: " + " ".join(test) + " => " |
||
33 | print(msg) |
||
34 | result = runner.invoke(cli.main, test) |
||
35 | |||
36 | assert result.exit_code == 0 |
||
37 |