Avoid permission problems

This commit is contained in:
Demi Marie Obenour 2020-11-27 20:05:18 -05:00
父節點 88cb57ca7a
當前提交 8b8c17f8b8
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 28A45C93B0B5B6E0

查看文件

@ -249,7 +249,6 @@ class TC_00_DispVM(qubes.tests.QubesTestCase):
})
vm = self.dispvm = self.app.add_new_vm(qubes.vm.dispvm.DispVM,
name='test-dispvm', template=self.appvm)
self.loop.run_until_complete(vm.create_on_disk())
self.assertIs(vm.volume_config['root']['source'],
self.template.volumes['root'])
# create new mock, so new template will get different volumes
@ -287,7 +286,6 @@ class TC_00_DispVM(qubes.tests.QubesTestCase):
vm = self.dispvm = self.app.add_new_vm(qubes.vm.dispvm.DispVM,
name='test-dispvm', template=self.appvm)
self.assertTrue(vm.events_enabled)
self.loop.run_until_complete(self.dispvm.create_on_disk())
# create new mock, so new template will get different volumes
self.app.pools['default'] = mock.Mock(**{
'init_volume.return_value.pool': 'default'})