Skip to content

Commit 789d07d

Browse files
committed
test: add case for running CLI
1 parent 33153f4 commit 789d07d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/mediathequeroubaix/cli_test.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from typer.testing import CliRunner
2+
3+
from mediathequeroubaix.main import app
4+
5+
runner = CliRunner()
6+
7+
8+
def test_app():
9+
result = runner.invoke(app, ["--help"])
10+
assert result.exit_code == 0

0 commit comments

Comments
 (0)