From 8a413224548070bacaa79d98fc319d277d51ef71 Mon Sep 17 00:00:00 2001 From: sanjeevneelarapu Date: Tue, 2 Jul 2013 20:25:34 +0530 Subject: [PATCH] assertion fails because cluster could be None Object is being used in one of the Assert statements however it is not callable. Fixed it. Signed-off-by: Prasanna Santhanam (cherry picked from commit 479f89ca3c43bef2ee3258cf3e78f7843a7d53cb) --- test/integration/smoke/test_primary_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_primary_storage.py b/test/integration/smoke/test_primary_storage.py index 598654da112..5cf31b13d88 100644 --- a/test/integration/smoke/test_primary_storage.py +++ b/test/integration/smoke/test_primary_storage.py @@ -196,7 +196,7 @@ class TestPrimaryStorageServices(cloudstackTestCase): self.assertNotEqual( len(list_hosts_response), 0, - "Check list Hosts in the cluster: " + cluster + "Check list Hosts in the cluster: " + cluster.name )