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 <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bf0265d2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bf0265d2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bf0265d2 Branch: refs/heads/vmsync Commit: bf0265d21d77dbc28bc61f46c535ca75b727d115 Parents: ae27d66 Author: rayeesn <raye...@citrix.com> Authored: Sat Jun 15 10:26:13 2013 -0700 Committer: Prasanna Santhanam <t...@apache.org> Committed: Mon Jun 17 10:05:02 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_custom_hostname.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bf0265d2/test/integration/component/test_custom_hostname.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_custom_hostname.py b/test/integration/component/test_custom_hostname.py index c9db215..e569215 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"