Skip to content

Commit

Permalink
tests: support the new(er) Thunderbird name on F41+
Browse files Browse the repository at this point in the history
Fedora 41 use yet another desktop app id.

QubesOS/qubes-issues#9244
  • Loading branch information
marmarek committed Feb 9, 2025
1 parent da93319 commit 030f5f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qubes/tests/integ/dispvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def _get_open_script(self, application):
"mozilla-thunderbird",
"thunderbird",
"org.mozilla.thunderbird",
"net.thunderbird.Thunderbird",
):
with open(
"/usr/share/qubes/tests-data/"
Expand Down Expand Up @@ -537,6 +538,9 @@ def test_100_open_in_dispvm(self):
# F40+ has org.mozilla.thunderbird
if "org.mozilla.thunderbird" in self._get_apps_list(self.template):
app_id = "org.mozilla.thunderbird"
# F41+ has net.thunderbird.Thunderbird
if "net.thunderbird.Thunderbird" in self._get_apps_list(self.template):
app_id = "net.thunderbird.Thunderbird"

self.testvm1.features["service.app-dispvm." + app_id] = "1"
self.loop.run_until_complete(self.testvm1.start())
Expand Down

0 comments on commit 030f5f3

Please sign in to comment.