From 225d6a84b7e6e1aa78ac8e4badac3429c5b3007c Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 7 Dec 2025 21:02:55 +0100 Subject: [PATCH] Added error code --- tests/integration/test_integration_install_pkgmgr_shallow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_integration_install_pkgmgr_shallow.py b/tests/integration/test_integration_install_pkgmgr_shallow.py index a7d9525..6742116 100644 --- a/tests/integration/test_integration_install_pkgmgr_shallow.py +++ b/tests/integration/test_integration_install_pkgmgr_shallow.py @@ -76,6 +76,9 @@ def pkgmgr_help_debug() -> None: print(f"returncode: {proc.returncode}") print("--- END ---\n") + if proc.returncode != 0: + raise AssertionError(f"'pkgmgr --help' failed with exit code {proc.returncode}") + # Wichtig: Hier KEIN AssertionError mehr – das ist reine Debug-Ausgabe. # Falls du später hart testen willst, kannst du optional: # if proc.returncode != 0: