Skip to content

Commit

Permalink
fix in CR for import ansible role
Browse files Browse the repository at this point in the history
  • Loading branch information
amolpati30 committed Sep 26, 2024
1 parent 860efcf commit 01ceece
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/foreman/ui/test_computeresource_vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,9 @@ def test_positive_provision_end_to_end(
}
}
with target_sat.ui_session() as session:
session.ansibleroles.import_all_roles()
assert session.ansibleroles.import_all_roles() == session.ansibleroles.imported_roles_count
session.location.select(module_location.name)
session.organization.select(module_sca_manifest_org.name)
assert session.ansibleroles.import_all_roles() == session.ansibleroles.imported_roles_count
session.hostgroup.assign_role_to_hostgroup(
module_vmware_hostgroup.name, {'ansible_roles.resources': SELECTED_ROLE}
)
Expand Down

0 comments on commit 01ceece

Please sign in to comment.