Skip to content

Commit

Permalink
tests: disable thunderbird donation prompt during tests
Browse files Browse the repository at this point in the history
It opens it in a DispVM, which confuses the test as it isn't expected
file viewer app.
  • Loading branch information
marmarek committed May 13, 2024
1 parent d2c8096 commit f3bfd85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qubes/tests/integ/dispvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,12 @@ def test_100_open_in_dispvm(self):
self.loop.run_until_complete(
self.testvm1.run_for_stdio("chmod +x /home/user/open-file"))

# disable donation message as it messes with editor detection
self.loop.run_until_complete(
self.testvm1.run_for_stdio("cat > /etc/thunderbird/pref/test.js",
input=b'pref("app.donation.eoy.version.viewed", 100);\n',
user="root"))

self.loop.run_until_complete(
self.testvm1.run_for_stdio(
'gsettings set org.gnome.desktop.interface '
Expand Down

0 comments on commit f3bfd85

Please sign in to comment.