From 52f9d5efe238c5fe7a36c2d7094f3f73ca9357cd Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Mon, 10 Jun 2013 13:36:13 +0530 Subject: [PATCH] Improve debug message when failing the test Added the listVM response as part of debug logging Signed-off-by: Prasanna Santhanam --- test/integration/smoke/test_vm_life_cycle.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index afe9b8a6331..9aaa13fcb57 100644 --- a/test/integration/smoke/test_vm_life_cycle.py +++ b/test/integration/smoke/test_vm_life_cycle.py @@ -687,10 +687,12 @@ class TestVMLifeCycle(cloudstackTestCase): else: break + self.debug("listVirtualMachines response: %s" % list_vm_response) + self.assertEqual( list_vm_response, None, - "Check Expunged virtual machine is listVirtualMachines" + "Check Expunged virtual machine is in listVirtualMachines response" ) return