From 1fa68ce8b8fe12e5c7f035832b866646db25d622 Mon Sep 17 00:00:00 2001 From: vsedmik <46570670+vsedmik@users.noreply.github.com> Date: Fri, 27 Sep 2024 17:49:04 +0200 Subject: [PATCH] Add CV to the AK creation as a new requirement (#16508) --- tests/foreman/installer/test_installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index 02669f63dd2..0dda6b0a660 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -353,7 +353,9 @@ def test_capsule_installation( # Create capsule certs and activation key file, _, cmd_args = sat_fapolicyd_install.capsule_certs_generate(cap_ready_rhel) sat_fapolicyd_install.session.remote_copy(file, cap_ready_rhel) - ak = sat_fapolicyd_install.api.ActivationKey(organization=org, environment=org.library).create() + ak = sat_fapolicyd_install.api.ActivationKey( + organization=org, environment=org.library, content_view=org.default_content_view + ).create() setup_capsule_repos(sat_fapolicyd_install, cap_ready_rhel, org, ak)