@@ -231,6 +231,9 @@ def test_020_start_gui_for_vm(self, proc_mock):
231
231
self .app .expected_calls [
232
232
('test-vm' , 'admin.vm.property.Get' , 'virt_mode' , None )] = \
233
233
b'0\x00 default=False type=str pv'
234
+ self .app .expected_calls [
235
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
236
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
234
237
self .app .expected_calls [
235
238
('test-vm' , 'admin.vm.feature.CheckWithTemplate' ,
236
239
'no-monitor-layout' , None )] = \
@@ -272,6 +275,9 @@ def test_021_start_gui_for_vm_hvm(self, proc_mock):
272
275
self .app .expected_calls [
273
276
('test-vm' , 'admin.vm.property.Get' , 'debug' , None )] = \
274
277
b'0\x00 default=False type=bool False'
278
+ self .app .expected_calls [
279
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
280
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
275
281
self .app .expected_calls [
276
282
('test-vm' , 'admin.vm.feature.CheckWithTemplate' ,
277
283
'no-monitor-layout' , None )] = \
@@ -312,6 +318,9 @@ def test_022_start_gui_for_vm_hvm_stubdom(self):
312
318
self .app .expected_calls [
313
319
('test-vm' , 'admin.vm.property.Get' , 'debug' , None )] = \
314
320
b'0\x00 default=False type=bool False'
321
+ self .app .expected_calls [
322
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
323
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
315
324
self .app .expected_calls [
316
325
('test-vm' , 'admin.vm.feature.CheckWithTemplate' ,
317
326
'no-monitor-layout' , None )] = \
@@ -360,6 +369,9 @@ def test_030_start_gui_for_stubdomain(self):
360
369
self .app .expected_calls [
361
370
('test-vm' , 'admin.vm.property.Get' , 'stubdom_xid' , None )] = \
362
371
b'0\x00 default=False type=int 3001'
372
+ self .app .expected_calls [
373
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
374
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
363
375
self .app .expected_calls [
364
376
('test-vm' , 'admin.vm.feature.CheckWithTemplate' , 'gui' , None )] = \
365
377
b'2\x00 QubesFeatureNotFoundError\x00 \x00 Feature not set\x00 '
@@ -391,6 +403,9 @@ def test_031_start_gui_for_stubdomain_forced(self):
391
403
self .app .expected_calls [
392
404
('test-vm' , 'admin.vm.property.Get' , 'stubdom_xid' , None )] = \
393
405
b'0\x00 default=False type=int 3001'
406
+ self .app .expected_calls [
407
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
408
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
394
409
# self.app.expected_calls[
395
410
# ('test-vm', 'admin.vm.feature.CheckWithTemplate', 'gui', None)] = \
396
411
# b'0\x00'
@@ -442,6 +457,9 @@ def test_040_start_gui(self):
442
457
self .app .expected_calls [
443
458
('test-vm' , 'admin.vm.property.Get' , 'guivm' , None )] = \
444
459
b'0\x00 default=False type=vm gui-vm'
460
+ self .app .expected_calls [
461
+ ('test-vm' , 'admin.vm.property.Get' , 'is_preload' , None )] = \
462
+ b"2QubesNoSuchPropertyErrorInvalid property 'is_preload' of test-vm"
445
463
446
464
# pylint: disable=protected-access
447
465
self .app ._local_name = 'gui-vm'
0 commit comments