From bf0265d21d77dbc28bc61f46c535ca75b727d115 Mon Sep 17 00:00:00 2001 From: rayeesn Date: Sat, 15 Jun 2013 10:26:13 -0700 Subject: [PATCH] CLOUDSTACK-3020: Fix assert error If you do not give a name during vm creation, UUID will be set for Name and Display name will be blank. Signed-off-by: Prasanna Santhanam --- test/integration/component/test_custom_hostname.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/component/test_custom_hostname.py b/test/integration/component/test_custom_hostname.py index c9db2154a94..e569215980c 100644 --- a/test/integration/component/test_custom_hostname.py +++ b/test/integration/component/test_custom_hostname.py @@ -300,7 +300,7 @@ class TestInstanceNameFlagTrue(cloudstackTestCase): "Running", "Vm state should be running after deployment" ) - self.assertEqual( + self.assertNotEqual( vm.displayname, vm.id, "Vm display name should not match the given name"