Solved import bug

This commit is contained in:
Kevin Veen-Birkenbach
2025-12-09 15:03:31 +01:00
parent 14f0188efd
commit e00b1a7b69

View File

@@ -53,7 +53,7 @@ class TestIntegrationChangelogCommands(unittest.TestCase):
sys.argv = ["pkgmgr", "changelog"] + list(extra_args) sys.argv = ["pkgmgr", "changelog"] + list(extra_args)
try: try:
runpy.run_module("pkgmgr.cli", run_name="__main__") runpy.run_module("main", run_name="__main__")
except SystemExit as exc: except SystemExit as exc:
code = exc.code if isinstance(exc.code, int) else str(exc.code) code = exc.code if isinstance(exc.code, int) else str(exc.code)
if code != 0: if code != 0: