diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-02-22 14:57:10 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-02-22 16:01:24 -0500 |
commit | 6954c6774a703e9a5984cb2bb93ac7ca28bb0ac0 (patch) | |
tree | 6b69bdabff4a6b4017612f03d5a167254d66d1c5 /tests/virtconvtest.py | |
parent | 62fecb09d3bbc66438a4ceb979cfa607b91ca38e (diff) | |
download | virt-manager-6954c6774a703e9a5984cb2bb93ac7ca28bb0ac0.tar.gz |
tests: Fix running testsuite on older libvirt
If we try to run the testsuite on anything older than libvirt 3.1,
it immediately throws an exception before processing any tests,
due to choking on parsing drm bits from testdriver.xml. This global
failure is only due to sloppy coding though.
Turn all test cases that use testdriver.xml into skips in this case,
so we can at least get some test coverage otherwise.
Diffstat (limited to 'tests/virtconvtest.py')
-rw-r--r-- | tests/virtconvtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/virtconvtest.py b/tests/virtconvtest.py index 095b5944..31d78bc7 100644 --- a/tests/virtconvtest.py +++ b/tests/virtconvtest.py @@ -34,7 +34,7 @@ class TestVirtConv(unittest.TestCase): def print_cb(msg): print(msg, file=outbuf) - conn = utils.open_kvm() + conn = utils.URIs.open_kvm() converter = VirtConverter(conn, in_path, print_cb=print_cb) if converter.parser.name != in_type: |