Skip to content

Commit

Permalink
test: Ignore warnings about missing Qt translations
Browse files Browse the repository at this point in the history
While running unittest warning messages about missing qt translations are now ignored.
  • Loading branch information
buhtz authored Sep 19, 2023
1 parent 37018e0 commit 524efd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Back In Time

Version 1.4.1-dev (development of upcoming release)
* Build: Warnings about missing Qt translation now are ignored while testing.
* Fix bug: GUI didn't start when show hidden files button was on (#1535).

Version 1.4.0 (2023-09-14)
Expand Down
3 changes: 2 additions & 1 deletion common/test/test_backintime.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def test_local_snapshot_is_successful(self):
"WARNING: D-Bus message:",
"WARNING: Udev-based profiles cannot be changed or checked",
"WARNING: Inhibit Suspend failed",
"Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway"
"Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway",
"WARNING: PyQt was not able to install a translator for language code",
]

line_contains_to_exclude = [
Expand Down

0 comments on commit 524efd3

Please sign in to comment.