Improve debug message when failing the test Added the listVM response as part of debug logging
Signed-off-by: Prasanna Santhanam <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/52f9d5ef Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/52f9d5ef Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/52f9d5ef Branch: refs/heads/disk_io_throttling Commit: 52f9d5efe238c5fe7a36c2d7094f3f73ca9357cd Parents: 6e24542 Author: Prasanna Santhanam <t...@apache.org> Authored: Mon Jun 10 13:36:13 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Mon Jun 10 13:38:33 2013 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_vm_life_cycle.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/52f9d5ef/test/integration/smoke/test_vm_life_cycle.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index afe9b8a..9aaa13f 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