Skip to content

Commit

Permalink
test: test help and version
Browse files Browse the repository at this point in the history
  • Loading branch information
KRiedmiller committed Mar 4, 2025
1 parent c58a81d commit 46f8d38
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/python/test_cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from click.testing import CliRunner
import helios
from helios.__main__ import cli


def test_cli_help():
runner = CliRunner()
result = runner.invoke(cli, ["--help"])
assert result.exit_code == 0


def test_cli_version():
runner = CliRunner()
result = runner.invoke(cli, ["--version"])
assert result.exit_code == 0
assert helios.__version__ in result.stdout

0 comments on commit 46f8d38

Please sign in to comment.