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 <t...@apache.org> (cherry picked from commit 479f89ca3c43bef2ee3258cf3e78f7843a7d53cb) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8a413224 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8a413224 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8a413224 Branch: refs/heads/4.2 Commit: 8a413224548070bacaa79d98fc319d277d51ef71 Parents: 154618b Author: sanjeevneelarapu <sanjeev.neelar...@citrix.com> Authored: Tue Jul 2 20:25:34 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Tue Jul 2 19:21:14 2013 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_primary_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8a413224/test/integration/smoke/test_primary_storage.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_primary_storage.py b/test/integration/smoke/test_primary_storage.py index 598654d..5cf31b1 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 )