Skip to content

Commit 479f89c

Browse files
sanjeevneelarapuPrasanna Santhanam
authored andcommitted
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>
1 parent cfd1098 commit 479f89c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/smoke/test_primary_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_01_primary_storage_iscsi(self):
196196
self.assertNotEqual(
197197
len(list_hosts_response),
198198
0,
199-
"Check list Hosts in the cluster: " + cluster
199+
"Check list Hosts in the cluster: " + cluster.name
200200
)
201201

202202

0 commit comments

Comments
 (0)