tests: add missing skip if no xdotool installed
This commit is contained in:
parent
4dfb629dd8
commit
20e4e26111
@ -22,6 +22,7 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
|
from distutils import spawn
|
||||||
|
|
||||||
import multiprocessing
|
import multiprocessing
|
||||||
import os
|
import os
|
||||||
@ -115,6 +116,8 @@ class VmNetworkingTests(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase)
|
|||||||
"Ping by IP from AppVM failed")
|
"Ping by IP from AppVM failed")
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipUnless(spawn.find_executable('xdotool'),
|
||||||
|
"xdotool not installed")
|
||||||
def test_020_simple_proxyvm_nm(self):
|
def test_020_simple_proxyvm_nm(self):
|
||||||
self.proxy = self.qc.add_new_vm("QubesProxyVm",
|
self.proxy = self.qc.add_new_vm("QubesProxyVm",
|
||||||
name=self.make_vm_name('proxy'),
|
name=self.make_vm_name('proxy'),
|
||||||
|
Loading…
Reference in New Issue
Block a user