Skip to content

Commit

Permalink
Fixing the type error (ManageIQ#9635)
Browse files Browse the repository at this point in the history
get_vm method do not have any param name template
Fixing below error
TypeError: get_vm() got an unexpected keyword argument 'template'

Signed-off-by: mnadeem92 <[email protected]>
  • Loading branch information
mnadeem92 authored and spusateri committed Jan 27, 2020
1 parent 8eeb946 commit 8e0a966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfme/fixtures/v2v_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def infra_mapping_default_data(source_provider, provider):
def mapping_data_vm_obj_mini(request, appliance, source_provider, provider):
"""Fixture to return minimal mapping data and vm object for migration plan"""
infra_mapping_data = infra_mapping_default_data(source_provider, provider)
vm_obj = get_vm(request, appliance, source_provider, template=Templates.RHEL7_MINIMAL)
vm_obj = get_vm(request, appliance, source_provider, Templates.RHEL7_MINIMAL)

infrastructure_mapping_collection = appliance.collections.v2v_infra_mappings
mapping = infrastructure_mapping_collection.create(**infra_mapping_data)
Expand Down

0 comments on commit 8e0a966

Please sign in to comment.