Skip to content

Commit e9ea442

Browse files
committed
Rename exception error messages
1 parent 7496ae4 commit e9ea442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/smoke/test_vm_strict_host_tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_06_deploy_vm_on_any_host_with_strict_tags_failure(self):
190190
self.cleanup.append(vm)
191191
self.fail("VM should not be deployed")
192192
except Exception as e:
193-
self.assertTrue("Unable to create a deployment for " in str(e))
193+
self.assertTrue("No destination found for a deployment for VM instance" in str(e))
194194

195195

196196
class TestScaleVMStrictTags(cloudstackTestCase):
@@ -310,7 +310,7 @@ def test_02_scale_vm_strict_tags_failure(self):
310310
vm.start(self.apiclient)
311311
self.fail("VM should not be be able scale and start")
312312
except Exception as e:
313-
self.assertTrue("Unable to create a deployment for " in str(e))
313+
self.assertTrue("Unable to orchestrate the start of VM instance" in str(e))
314314

315315

316316
class TestRestoreVMStrictTags(cloudstackTestCase):

0 commit comments

Comments
 (0)