diff --git a/tests/bats/001-invocation.bats b/tests/bats/001-invocation.bats index f4e3ef762..bdd249026 100644 --- a/tests/bats/001-invocation.bats +++ b/tests/bats/001-invocation.bats @@ -20,3 +20,19 @@ load "helpers" gallia --show-config rm_gallia_toml } + +@test "invoke gallia -h" { + gallia -h +} + +@test "invoke hr -h" { + hr -h +} + +@test "invoke netzteil -h" { + netzteil -h +} + +@test "invoke cursed-hr -h" { + cursed-hr -h +} diff --git a/tests/pytest/test_help.py b/tests/pytest/test_help.py deleted file mode 100644 index 2149ef75e..000000000 --- a/tests/pytest/test_help.py +++ /dev/null @@ -1,11 +0,0 @@ -# SPDX-FileCopyrightText: AISEC Pentesting Team -# -# SPDX-License-Identifier: Apache-2.0 - -import subprocess - - -def test_help() -> None: - subprocess.run(["gallia", "-h"], stdout=subprocess.DEVNULL, check=True) - subprocess.run(["netzteil", "-h"], stdout=subprocess.DEVNULL, check=True) - subprocess.run(["hr", "-h"], stdout=subprocess.DEVNULL, check=True)