From: Marc-André Lureau <marcandre.lur...@redhat.com>

Instead of reporting an error and traceback, we could ignore skip
errors. The drawback is that they are now silent.

Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 tests/virtconvtest.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/virtconvtest.py b/tests/virtconvtest.py
index dbb35612..188b4fd0 100644
--- a/tests/virtconvtest.py
+++ b/tests/virtconvtest.py
@@ -82,6 +82,8 @@ class TestVirtConv(unittest.TestCase):
         for in_path in glob.glob(os.path.join(in_dir, "*")):
             try:
                 self._compare_single_file(in_path, in_type)
+            except unittest.case.SkipTest:
+                continue
             except Exception:
                 import traceback
                 err += traceback.format_exc()
-- 
2.16.1.73.g5832b7e9f2

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to