From 664c19d092d0cd44a052471df3cdb5fb60a0ef76 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:50:28 -0400 Subject: [PATCH] [6.15.z] Skip orphan cleanup case for n_minus scenario (#14409) Skip orphan cleanup case for n_minus scenario (#14371) (cherry picked from commit 672ba8dbe3a81c29b5b36e1548950975346af189) Co-authored-by: vsedmik <46570670+vsedmik@users.noreply.github.com> --- 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 99c2bb816fc..7543134f2f9 100644 --- a/tests/foreman/api/test_capsulecontent.py +++ b/tests/foreman/api/test_capsulecontent.py @@ -1293,7 +1293,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(