summaryrefslogtreecommitdiff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-02-20 12:21:45 -0500
committerCole Robinson <crobinso@redhat.com>2018-02-20 12:21:45 -0500
commit98d880a179cdf918e7ce7420f96c2957864f24c0 (patch)
treeb6379584b196e572a5e0f80ec902fb9fbc485e2c /tests/utils.py
parent059fb7d0ba1d414db3db485903972b48c1dda629 (diff)
downloadvirt-manager-98d880a179cdf918e7ce7420f96c2957864f24c0.tar.gz
tests: Differentiate conn cache based on actual open URI
Since what is actually passed to libvirt here is what actually matters, not all our fakeuri trickery
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 32642adb..c97a5929 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -91,6 +91,7 @@ def openconn(uri):
"""
virtinst.util.register_libvirt_error_handler()
conn = virtinst.cli.getConnection(uri)
+ uri = conn._open_uri
# For the basic test:///default URI, skip this caching, so we have
# an option to test the stock code