Skip to content

Commit

Permalink
Fix test AK create with CV (#13642)
Browse files Browse the repository at this point in the history
(cherry picked from commit ffadf54)
  • Loading branch information
vsedmik authored and web-flow committed Jan 8, 2024
1 parent ca9f251 commit e7ca64e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/foreman/cli/test_activationkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,11 @@ def test_positive_create_with_cv(name, module_org, get_default_env, module_targe
new_cv = module_target_sat.cli_factory.make_content_view(
{'name': name, 'organization-id': module_org.id}
)
module_target_sat.cli.ContentView.publish({'id': new_cv['id']})
new_ak_cv = module_target_sat.cli_factory.make_activation_key(
{
'content-view': new_cv['name'],
'environment': get_default_env['name'],
'lifecycle-environment': get_default_env['name'],
'organization-id': module_org.id,
}
)
Expand Down

0 comments on commit e7ca64e

Please sign in to comment.