summaryrefslogtreecommitdiff
path: root/tests/virtconvtest.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-02-22 14:57:10 -0500
committerCole Robinson <crobinso@redhat.com>2018-02-22 16:01:24 -0500
commit6954c6774a703e9a5984cb2bb93ac7ca28bb0ac0 (patch)
tree6b69bdabff4a6b4017612f03d5a167254d66d1c5 /tests/virtconvtest.py
parent62fecb09d3bbc66438a4ceb979cfa607b91ca38e (diff)
downloadvirt-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.py2
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: