From d7fd66070aed88690c10690f3b02c90f852aae7b Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Fri, 15 Apr 2016 20:37:35 +0200 Subject: [PATCH] Fix revert template changes test --- qubes/tests/int/basic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes/tests/int/basic.py b/qubes/tests/int/basic.py index 5a107fdc..e740eeb2 100644 --- a/qubes/tests/int/basic.py +++ b/qubes/tests/int/basic.py @@ -392,8 +392,9 @@ class TC_03_QvmRevertTemplateChanges(qubes.tests.SystemTestsMixin, self.save_and_reload_db() def get_rootimg_checksum(self): - p = subprocess.Popen(['sha1sum', self.test_template.root_img], - stdout=subprocess.PIPE) + p = subprocess.Popen( + ['sha1sum', self.test_template.volumes['root'].vid], + stdout=subprocess.PIPE) return p.communicate()[0] def _do_test(self):