From e5f32e54ca605967c26cfaaec1a678ff9ca9135a Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Wed, 17 Apr 2024 16:50:56 +0200 Subject: [PATCH] sca fix for api org test (#14811) --- tests/foreman/api/test_organization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/api/test_organization.py b/tests/foreman/api/test_organization.py index 7edc09d0dc2..295bc1142a1 100644 --- a/tests/foreman/api/test_organization.py +++ b/tests/foreman/api/test_organization.py @@ -132,7 +132,7 @@ def test_negative_create_with_same_name(self, target_sat): target_sat.api.Organization(name=name).create() @pytest.mark.tier1 - def test_negative_check_org_endpoint(self, module_entitlement_manifest_org): + def test_negative_check_org_endpoint(self, module_sca_manifest_org): """Check manifest cert is not exposed in api endpoint :id: 24130e54-cd7a-41de-ac78-6e89aebabe30 @@ -145,7 +145,7 @@ def test_negative_check_org_endpoint(self, module_entitlement_manifest_org): :CaseImportance: High """ - orgstring = json.dumps(module_entitlement_manifest_org.read_json()) + orgstring = json.dumps(module_sca_manifest_org.read_json()) assert 'BEGIN CERTIFICATE' not in orgstring assert 'BEGIN RSA PRIVATE KEY' not in orgstring