From f9a2239ea309541ef4e6a7c2d66d60fa7e7435d2 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 be2d6d87407..82a8bf49619 100644 --- a/tests/foreman/api/test_capsulecontent.py +++ b/tests/foreman/api/test_capsulecontent.py @@ -1323,7 +1323,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(