qubes/tests/int/tools/qubes_create: fix wrong assert
This commit is contained in:
parent
5c57b4cda7
commit
ec50a411fe
@ -31,17 +31,13 @@ import qubes.tests
|
||||
@qubes.tests.skipUnlessDom0
|
||||
class TC_00_qubes_create(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
|
||||
def test_000_basic(self):
|
||||
self.assertEqual(0,
|
||||
qubes.tools.qubes_create.main((
|
||||
'--qubesxml', qubes.tests.XMLPATH,
|
||||
)))
|
||||
self.assertTrue(qubes.tools.qubes_create.main((
|
||||
'--qubesxml', qubes.tests.XMLPATH)))
|
||||
|
||||
def test_001_property(self):
|
||||
self.assertEqual(0,
|
||||
qubes.tools.qubes_create.main((
|
||||
'--qubesxml', qubes.tests.XMLPATH,
|
||||
'--property', 'default_kernel=testkernel'
|
||||
)))
|
||||
self.assertTrue(qubes.tools.qubes_create.main((
|
||||
'--qubesxml', qubes.tests.XMLPATH,
|
||||
'--property', 'default_kernel=testkernel')))
|
||||
|
||||
self.assertEqual('testkernel',
|
||||
qubes.Qubes(qubes.tests.XMLPATH).default_kernel)
|
||||
|
Loading…
Reference in New Issue
Block a user