uitests: launch UI with same python executable

As the tests were launched with
This commit is contained in:
Cole Robinson 2017-10-21 19:11:30 -04:00
parent 7f1b4cee82
commit be7db97ecf
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import os
import re
import time
import subprocess
import sys
import dogtail.tree
@ -65,7 +66,7 @@ class DogtailApp(object):
return self._root
def open(self, extra_opts=None):
self._proc = subprocess.Popen(["python",
self._proc = subprocess.Popen([sys.executable,
os.path.join(os.getcwd(), "virt-manager"),
"--test-first-run", "--no-fork", "--connect", self.uri] +
(extra_opts or []),