Skip to content

Commit

Permalink
Fix #1429 (Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome)
Browse files Browse the repository at this point in the history
Also ignores the qt.qpa.plugin warning:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
  • Loading branch information
aryoda committed Apr 25, 2023
1 parent 4c6a977 commit f056d90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/test/test_backintime.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,12 @@ def test_local_snapshot_is_successful(self):
"WARNING: D-Bus message:",
"WARNING: Udev-based profiles cannot be changed or checked",
"WARNING: Inhibit Suspend failed",
"Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway"
]

line_contains_to_exclude = [
"Gtk-WARNING"
"Gtk-WARNING",
"qt.qpa.plugin: Could not find the Qt platform plugin"
]

# remove lines via startswith()
Expand Down

0 comments on commit f056d90

Please sign in to comment.