Skip to content

Commit d5644e8

Browse files
committed
More mock stuff
Menu needs this.
1 parent ab72538 commit d5644e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qubesadmin/tests/mock_app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,12 @@ def __init__(self):
648648
# # this system has some reasonable defaults
649649
self._qubes['dom0'].default_dispvm = "default-dvm"
650650

651+
self._qubes['test-vm2'] = MockQube(name="test-vm2", qapp=self,
652+
features={'menu-favorites': ''})
653+
self._qubes['dom0'].features[INITIAL_PAGE_FEATURE] = 'favorites_page'
654+
self._qubes['dom0'].features[SORT_RUNNING_FEATURE] = '1'
655+
self._qubes['dom0'].features[POSITION_FEATURE] = 'mouse'
656+
651657
self.update_vm_calls()
652658

653659
# also add a bunch of devices

0 commit comments

Comments
 (0)