Skip to content

Commit 37a8321

Browse files
fix test_vm_strict_host_tags.py integration tests
1 parent 373df59 commit 37a8321

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/integration/smoke/test_vm_strict_host_tags.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ def expunge_vm(self, vm):
9797

9898
@classmethod
9999
def updateConfiguration(self, name, value):
100+
if len(value) == 0:
101+
value = ' '
102+
100103
cmd = updateConfiguration.updateConfigurationCmd()
101104
cmd.name = name
102105
cmd.value = value
@@ -265,6 +268,9 @@ def expunge_vm(self, vm):
265268

266269
@classmethod
267270
def updateConfiguration(self, name, value):
271+
if len(value) == 0:
272+
value = ' '
273+
268274
cmd = updateConfiguration.updateConfigurationCmd()
269275
cmd.name = name
270276
cmd.value = value
@@ -385,6 +391,9 @@ def expunge_vm(self, vm):
385391

386392
@classmethod
387393
def updateConfiguration(self, name, value):
394+
if len(value) == 0:
395+
value = ' '
396+
388397
cmd = updateConfiguration.updateConfigurationCmd()
389398
cmd.name = name
390399
cmd.value = value
@@ -509,6 +518,9 @@ def expunge_vm(self, vm):
509518

510519
@classmethod
511520
def updateConfiguration(self, name, value):
521+
if len(value) == 0:
522+
value = ' '
523+
512524
cmd = updateConfiguration.updateConfigurationCmd()
513525
cmd.name = name
514526
cmd.value = value

0 commit comments

Comments
 (0)