tests: improve DispVM error message

This commit is contained in:
Marek Marczykowski-Górecki 2016-09-04 21:00:02 +02:00
parent c15dc0a392
commit 5cf15ef3da
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -87,6 +87,7 @@ class TC_04_DispVM(qubes.tests.SystemTestsMixin,
# includes check for None - timeout
self.assertEquals(p.returncode, 0)
lines = p.stdout.read().splitlines()
self.assertTrue(lines, 'No output received from DispVM')
dispvm_name = lines[0]
self.assertNotEquals(dispvm_name, "ERROR")