From 776033da9abc987528fef8f11fc153874d79fafe Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 15 May 2026 16:17:46 +0200 Subject: [PATCH 1/2] Mark katello service status tests with the feature mark --- tests/feature/foreman/base_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/feature/foreman/base_test.py b/tests/feature/foreman/base_test.py index 1131458eb..839e31c17 100644 --- a/tests/feature/foreman/base_test.py +++ b/tests/feature/foreman/base_test.py @@ -45,6 +45,7 @@ def test_foreman_status_cache(foreman_status): assert foreman_status['results']['foreman']['cache']['servers'][0]['status'] == 'ok' +@pytest.mark.feature('katello') @pytest.mark.parametrize("katello_service", ['candlepin', 'candlepin_auth', 'foreman_tasks', 'katello_events', 'pulp3', 'pulp3_content']) def test_katello_services_status(foreman_status, katello_service): assert foreman_status['results']['katello']['services'][katello_service]['status'] == 'ok' From a27250f95b89c9089183d739bc08547c17159abb Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 14 Jul 2026 22:13:25 +0200 Subject: [PATCH 2/2] Move candlepin tests into katello feature test dir This uses the feature test directory to automatically mark files. --- tests/{ => feature/katello}/candlepin_test.py | 5 ----- 1 file changed, 5 deletions(-) rename tests/{ => feature/katello}/candlepin_test.py (97%) diff --git a/tests/candlepin_test.py b/tests/feature/katello/candlepin_test.py similarity index 97% rename from tests/candlepin_test.py rename to tests/feature/katello/candlepin_test.py index 00065e4ea..85a0dd4d0 100644 --- a/tests/candlepin_test.py +++ b/tests/feature/katello/candlepin_test.py @@ -1,8 +1,3 @@ -import pytest - -pytestmark = pytest.mark.feature('katello') - - def assert_secret_content(server, secret_name, secret_value): secret = server.run(f'podman secret inspect --format {"{{.SecretData}}"} --showsecret {secret_name}') assert secret.succeeded