From b592d0eee1e1d0364aeba4de181b4960e40e5b1e Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Mon, 21 Jul 2025 17:19:46 -0400 Subject: [PATCH] adjust unit tests --- tests/test_cli/data/list-commands-admin.txt | 1 + tests/test_cli/data/list-commands.txt | 1 + tests/test_cli/test_import.py | 1 + tests/test_cli/test_import_sig.py | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/test_cli/data/list-commands-admin.txt b/tests/test_cli/data/list-commands-admin.txt index 84f31803..24692ee8 100644 --- a/tests/test_cli/data/list-commands-admin.txt +++ b/tests/test_cli/data/list-commands-admin.txt @@ -57,6 +57,7 @@ admin commands: remove-tag Remove a tag remove-tag-inheritance Remove a tag inheritance link remove-target Remove a build target + rename-sig Adjust the sigkey value for an rpm signature reserve-cg Reserve a build entry for later import restart-hosts Restart enabled hosts revoke-cg-access Remove a user from a content generator diff --git a/tests/test_cli/data/list-commands.txt b/tests/test_cli/data/list-commands.txt index 9671bba6..723940b3 100644 --- a/tests/test_cli/data/list-commands.txt +++ b/tests/test_cli/data/list-commands.txt @@ -57,6 +57,7 @@ admin commands: remove-tag Remove a tag remove-tag-inheritance Remove a tag inheritance link remove-target Remove a build target + rename-sig Adjust the sigkey value for an rpm signature reserve-cg Reserve a build entry for later import restart-hosts Restart enabled hosts revoke-cg-access Remove a user from a content generator diff --git a/tests/test_cli/test_import.py b/tests/test_cli/test_import.py index 7a916c46..4807994a 100644 --- a/tests/test_cli/test_import.py +++ b/tests/test_cli/test_import.py @@ -697,6 +697,7 @@ Options: --create-build Auto-create builds as needed --src-epoch=SRC_EPOCH When auto-creating builds, use this epoch + --sigkey=SIGKEY Override the sigkey value """ % self.progname) diff --git a/tests/test_cli/test_import_sig.py b/tests/test_cli/test_import_sig.py index 00bdb4af..c95d43d8 100644 --- a/tests/test_cli/test_import_sig.py +++ b/tests/test_cli/test_import_sig.py @@ -315,6 +315,7 @@ Options: -h, --help show this help message and exit --with-unsigned Also import unsigned sig headers --test Test mode -- don't actually import + --sigkey=SIGKEY Specify signature key """ % self.progname)