From 03ecfcf4b2bf127f87bb66a199fe4e466ffd07b6 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Fri, 15 Sep 2023 12:00:54 +0200 Subject: [PATCH] change in upgrade marks for hammer tests (#12584) (cherry picked from commit 2525b6495025c988b509d195e43c7ed9fe7bdc52) --- tests/foreman/cli/test_hammer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/foreman/cli/test_hammer.py b/tests/foreman/cli/test_hammer.py index 966c53b2117..a2eff81403a 100644 --- a/tests/foreman/cli/test_hammer.py +++ b/tests/foreman/cli/test_hammer.py @@ -30,7 +30,7 @@ HAMMER_COMMANDS = json.loads(DataFile.HAMMER_COMMANDS_JSON.read_text()) -pytestmark = [pytest.mark.tier1, pytest.mark.upgrade] +pytestmark = [pytest.mark.tier1] def fetch_command_info(command): @@ -127,6 +127,7 @@ def test_positive_all_options(target_sat): pytest.fail(format_commands_diff(differences)) +@pytest.mark.upgrade def test_positive_disable_hammer_defaults(request, function_product, target_sat): """Verify hammer disable defaults command. @@ -166,6 +167,7 @@ def _finalize(): assert str(function_product.organization.id) not in result.stdout +@pytest.mark.upgrade def test_positive_check_debug_log_levels(target_sat): """Enabling debug log level in candlepin via hammer logging @@ -193,6 +195,7 @@ def test_positive_check_debug_log_levels(target_sat): @pytest.mark.e2e +@pytest.mark.upgrade def test_positive_hammer_shell(target_sat): """Verify that hammer shell runs a command when input is provided via interactive/bash