From 80860ef68b66ec5423cf2e205c3aa75cb46ff628 Mon Sep 17 00:00:00 2001 From: vsedmik <46570670+vsedmik@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:41:11 +0100 Subject: [PATCH] Skip orphan cleanup case for n_minus scenario (#14371) (cherry picked from commit 672ba8dbe3a81c29b5b36e1548950975346af189) --- tests/foreman/api/test_capsulecontent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/api/test_capsulecontent.py b/tests/foreman/api/test_capsulecontent.py index 46a04b47845..cdb09ffc883 100644 --- a/tests/foreman/api/test_capsulecontent.py +++ b/tests/foreman/api/test_capsulecontent.py @@ -1289,7 +1289,7 @@ def test_positive_remove_capsule_orphans( :BZ: 22043089, 2211962 """ - if not pytestconfig.option.n_minus: + if pytestconfig.option.n_minus: pytest.skip('Test cannot be run on n-minus setups session-scoped capsule') # Enable RHST repo and sync it to the Library LCE. repo_id = target_sat.api_factory.enable_rhrepo_and_fetchid(