| Conditions | 3 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | #!/usr/bin/env python3 |
||
| 27 | def test_listprojects(): |
||
| 28 | # The listprojects function does not accept any arguments, it should fail |
||
| 29 | # if such are provided. |
||
| 30 | assert runner.invoke(annif.listprojects, ['moi']).exit_code != 0 |
||
| 31 | assert runner.invoke( |
||
| 32 | annif.listprojects, ['moi', '--debug', 'y']).exit_code != 0 |
||
| 33 | |||
| 69 |