Skip to content

Commit

Permalink
More mock stuff
Browse files Browse the repository at this point in the history
Menu needs this.
  • Loading branch information
DemiMarie committed Dec 12, 2024
1 parent ab72538 commit 5f8a5c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qubesadmin/tests/mock_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,12 @@ def __init__(self):
# # this system has some reasonable defaults
self._qubes['dom0'].default_dispvm = "default-dvm"

self._qubes['test-vm2'] = MockQube(name="test-vm2", qapp=self,
features={'menu-favorites': ''})
self._qubes['dom0'].features['menu-initial-page'] = 'favorites_page'
self._qubes['dom0'].features['menu-sort-running'] = '1'
self._qubes['dom0'].features['menu-position'] = 'mouse'

self.update_vm_calls()

# also add a bunch of devices
Expand Down

0 comments on commit 5f8a5c6

Please sign in to comment.