Message ID | 1302294788-10078-3-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/tests/enospc.py b/client/tests/kvm/tests/enospc.py index 3c53b64..9917144 100644 --- a/client/tests/kvm/tests/enospc.py +++ b/client/tests/kvm/tests/enospc.py @@ -54,7 +54,7 @@ def run_enospc(test, params, env): image_params = vm.params.object_params(image_name) try: kvm_vm.check_image(image_params, test.bindir) - except kvm_vm.VMError, e: + except (kvm_vm.VMError, error.TestWarn), e: logging.error(e) logging.info("Guest paused, extending Logical Volume size") try:
Now that image_check() can throw TestWarn exceptions, let's catch it as well. Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> --- client/tests/kvm/tests/enospc.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)