File: test_cli.py

package info (click to toggle)
python-aiovlc 0.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 488 kB
  • sloc: python: 996; makefile: 16
file content (14 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Test the CLI."""

from typer.testing import CliRunner

from aiovlc.cli import app

runner = CliRunner()


def test_help() -> None:
    """The help message includes the CLI name."""
    result = runner.invoke(app, ["--help"])
    assert result.exit_code == 0
    assert "Start a client." in result.stdout