Skip to content

Commit

Permalink
change in upgrade marks for hammer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk committed Sep 20, 2023
1 parent 5157865 commit 8fcca28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/foreman/cli/test_hammer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

HAMMER_COMMANDS = json.loads(DataFile.HAMMER_COMMANDS_JSON.read_text())

pytestmark = [pytest.mark.tier1, pytest.mark.upgrade, pytest.mark.e2e]
pytestmark = [pytest.mark.tier1]


def fetch_command_info(command):
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -192,6 +194,8 @@ def test_positive_check_debug_log_levels(target_sat):
assert 'log4j.logger.org.candlepin = WARN' in result.stdout


@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
Expand Down

0 comments on commit 8fcca28

Please sign in to comment.