From 2b6b38f5b9f02a69321ace0dfa46f404d928de92 Mon Sep 17 00:00:00 2001 From: Griffin Sullivan <48397354+Griffin-Sullivan@users.noreply.github.com> Date: Thu, 4 Jan 2024 12:32:53 -0500 Subject: [PATCH] Add coverage for HTTP Proxy capsule install (#13507) (cherry picked from commit f378c330e8b7341679fa48e7ae0f236340b3af60) --- tests/foreman/installer/test_installer.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index 986080ffd25..e170973bcfa 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -1406,7 +1406,10 @@ def sat_non_default_install(module_sat_ready_rhels): @pytest.mark.e2e @pytest.mark.tier1 @pytest.mark.pit_client -def test_capsule_installation(sat_non_default_install, cap_ready_rhel): +@pytest.mark.parametrize( + 'setting_update', [f'http_proxy={settings.http_proxy.un_auth_proxy_url}'], indirect=True +) +def test_capsule_installation(sat_non_default_install, cap_ready_rhel, setting_update): """Run a basic Capsule installation with fapolicyd :id: 64fa85b6-96e6-4fea-bea4-a30539d59e65 @@ -1424,6 +1427,10 @@ def test_capsule_installation(sat_non_default_install, cap_ready_rhel): 3. health check runs successfully :CaseImportance: Critical + + :BZ: 1984400 + + :customerscenario: true """ # Get Capsule repofile, and enable and download satellite-capsule org = sat_non_default_install.api.Organization().create()