test_vm_deployment_planner: fix using wrong hypervisor (#7718)

This commit is contained in:
dahn 2023-08-07 06:50:42 +02:00 committed by GitHub
parent eb31e3d795
commit 0318e9fccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,7 @@ class TestVMDeploymentPlanner(cloudstackTestCase):
cmd = deployVirtualMachine.deployVirtualMachineCmd() cmd = deployVirtualMachine.deployVirtualMachineCmd()
template = get_template( template = get_template(
self.apiclient, self.apiclient,
self.zone.id, self.zone.id
hypervisor=self.hypervisor
) )
cmd.zoneid = self.zone.id cmd.zoneid = self.zone.id
cmd.templateid = template.id cmd.templateid = template.id