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 <tsp@apache.org>
This commit is contained in:
sanjeevneelarapu 2013-07-02 20:25:34 +05:30 committed by Prasanna Santhanam
parent cfd1098951
commit 479f89ca3c

View File

@ -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
)