From 077dec8d2ead7fda3a23c7c77d6ae3723ae562a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 21 May 2016 04:15:09 +0200 Subject: [PATCH] tests: fix rename test --- qubes/tests/int/basic.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qubes/tests/int/basic.py b/qubes/tests/int/basic.py index e740eeb2..d1d84356 100644 --- a/qubes/tests/int/basic.py +++ b/qubes/tests/int/basic.py @@ -100,7 +100,9 @@ class TC_01_Properties(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase): self.vm.name = newname self.assertEqual(self.vm.name, newname) 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, os.path.join(self.vm.dir_path, newname + '.conf')) self.assertTrue(os.path.exists(