From 095ea6d0b8c1a77766d1cecdabbf2b89be4a5491 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Wed, 14 Aug 2013 12:19:43 +0530 Subject: [PATCH] Additional logging and better error reporting on assert fail Signed-off-by: Prasanna Santhanam --- test/integration/component/test_accounts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/component/test_accounts.py b/test/integration/component/test_accounts.py index cf18bef84da..06b78e67ef6 100644 --- a/test/integration/component/test_accounts.py +++ b/test/integration/component/test_accounts.py @@ -665,12 +665,12 @@ class TestTemplateHierarchy(cloudstackTestCase): self.assertEqual( isinstance(templates, list), True, - "Check List templates for a valid response" + "Template response %s is not a list" % templates ) self.assertNotEqual( len(templates), 0, - "Check List Template response" + "No templates found" ) for template in templates: @@ -691,12 +691,12 @@ class TestTemplateHierarchy(cloudstackTestCase): self.assertEqual( isinstance(templates, list), True, - "Check List templates for a valid response" + "Template response %s is not a list" % templates ) self.assertNotEqual( len(templates), 0, - "Check List Service Offerings response" + "No templates found" ) for template in templates: