tests: skip the other img converter test test too
if qubes-img-converter is not installed
This commit is contained in:
parent
4bfd10baaa
commit
b2fb1b3364
@ -86,6 +86,8 @@ class TC_00_ImgConverter(qubes.tests.extra.ExtraTestCase):
|
||||
'"trusted with spaces.png" 2>&1',
|
||||
passio_popen=True)
|
||||
(stdout, _) = p.communicate()
|
||||
if p.returncode == 127:
|
||||
self.skipTest('qubes-img-converter not installed')
|
||||
self.assertEquals(p.returncode, 0, 'qvm-convert-img failed: {}'.format(
|
||||
stdout))
|
||||
self.assertCorrectlyTransformed(
|
||||
|
Loading…
Reference in New Issue
Block a user