From 87c3e016346df1d03cbc982c06e859692e6552cc Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:34:35 -0400 Subject: [PATCH] [6.13.z] Skip orphan cleanup case for n_minus scenario (#14406) 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 35f1a01e1e0..6c26d0e0280 100644 --- a/tests/foreman/api/test_capsulecontent.py +++ b/tests/foreman/api/test_capsulecontent.py @@ -1291,7 +1291,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(