Skip to content

Commit

Permalink
tests: force the Adwaita theme
Browse files Browse the repository at this point in the history
Theme stuff can influence the tests. Use the default theme in all cases.
  • Loading branch information
lazka committed Aug 30, 2018
1 parent 833eb49 commit d9b833b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions quodlibet/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ def init_test_environ():
# don't use dconf
environ["GSETTINGS_BACKEND"] = "memory"

# don't use dconf
environ["GSETTINGS_BACKEND"] = "memory"

# Force the default theme so broken themes don't affect the tests
environ["GTK_THEME"] = "Adwaita"

if xvfbwrapper is not None:
_VDISPLAY = xvfbwrapper.Xvfb()
_VDISPLAY.start()
Expand Down

0 comments on commit d9b833b

Please sign in to comment.