tests: fix rename test to report FAIL instead of ERROR when really failed
This commit is contained in:
parent
394fa1e5d3
commit
df5562d2c7
@ -252,8 +252,9 @@ class TC_01_Properties(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
|
||||
name=vm2name, template=self.app.default_template, label='red')
|
||||
self.vm2.create_on_disk()
|
||||
|
||||
with self.assertRaises(qubes.exc.QubesException):
|
||||
self.vm2.name = self.vmname
|
||||
with self.assertNotRaises(OSError):
|
||||
with self.assertRaises(qubes.exc.QubesException):
|
||||
self.vm2.name = self.vmname
|
||||
|
||||
class TC_02_QvmPrefs(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user