mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-08 04:58:29 +03:00
uitests: launch UI with same python executable
As the tests were launched with
This commit is contained in:
parent
7f1b4cee82
commit
be7db97ecf
@ -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 []),
|
||||
|
Loading…
x
Reference in New Issue
Block a user