mirror of https://github.com/apache/cloudstack.git
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:
parent
cfd1098951
commit
479f89ca3c
|
|
@ -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
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue