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
This commit is contained in:
Cole Robinson
2018-02-20 12:21:45 -05:00
parent 059fb7d0ba
commit 98d880a179
+1
View File
@@ -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