tests: fix rename test
This commit is contained in:
parent
bb2e1f2870
commit
077dec8d2e
@ -100,7 +100,9 @@ class TC_01_Properties(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
self.vm.name = newname
|
self.vm.name = newname
|
||||||
self.assertEqual(self.vm.name, newname)
|
self.assertEqual(self.vm.name, newname)
|
||||||
self.assertEqual(self.vm.dir_path,
|
self.assertEqual(self.vm.dir_path,
|
||||||
os.path.join(qubes.config.system_path['qubes_appvms_dir'], newname))
|
os.path.join(
|
||||||
|
qubes.config.system_path['qubes_base_dir'],
|
||||||
|
qubes.config.system_path['qubes_appvms_dir'], newname))
|
||||||
self.assertEqual(self.vm.conf_file,
|
self.assertEqual(self.vm.conf_file,
|
||||||
os.path.join(self.vm.dir_path, newname + '.conf'))
|
os.path.join(self.vm.dir_path, newname + '.conf'))
|
||||||
self.assertTrue(os.path.exists(
|
self.assertTrue(os.path.exists(
|
||||||
|
Loading…
Reference in New Issue
Block a user