tests: fix test with not None default_guivm

This commit is contained in:
Frédéric Pierret (fepitre) 2019-11-17 01:48:20 +01:00
parent 85edf511cb
commit 3a6ed2d0cd
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -573,7 +573,7 @@ class TC_90_Qubes(qubes.tests.QubesTestCase):
template=self.template, label='red')
holder.default_guivm = 'sys-gui'
self.assertEqual(holder.default_guivm, 'sys-gui')
self.assertIsNone(self.app.default_guivm)
self.assertIsNotNone(self.app.default_guivm)
self.assertTrue(appvm.property_is_default('guivm'))
self.app.default_guivm = guivm
self.assertEventFired(holder, 'property-set:default_guivm',