Skip to content

Commit

Permalink
Add CV to the AK creation as a new requirement (#16508)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored Sep 27, 2024
1 parent 33c39d5 commit 1fa68ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/installer/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1fa68ce

Please sign in to comment.