Skip to content

Commit 3509d13

Browse files
committed
Fix test when passing extra config
1 parent 2228fe7 commit 3509d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/smoke/test_deploy_vm_extra_config_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def test_07_deploy_vm_with_extraconfig_xenserver(self):
513513
raise self.skipTest("Skipping test case for non-xenserver hypervisor")
514514
"""
515515
Following commands are used to convert a VM from HVM to PV and set using vm-param-set
516-
HVM-boot-policy=
516+
HVM-boot-policy=""
517517
PV-bootloader=pygrub
518518
PV-args=hvc0
519519
"""
@@ -524,7 +524,7 @@ def test_07_deploy_vm_with_extraconfig_xenserver(self):
524524
add_config_response = self.add_global_config(name, value)
525525

526526
if add_config_response.name:
527-
extraconfig = 'HVM-boot-policy%3D%0APV-bootloader%3Dpygrub%0APV-args%3Dhvc0'
527+
extraconfig = 'HVM-boot-policy%3D%22%22%0APV-bootloader%3Dpygrub%0APV-args%3Dhvc0'
528528
try:
529529
response = self.deploy_vm(hypervisor, extraconfig)
530530
host_id = response.hostid

0 commit comments

Comments
 (0)