summaryrefslogtreecommitdiff
path: root/plugins/xsettings
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-02-05 14:22:39 +0100
committerBenjamin Berg <bberg@redhat.com>2019-02-05 14:45:16 +0100
commit9d4c208fda2a8a5fa3f7d40813c79f75caed8a9f (patch)
treeeb98582d7b53487f3f5c9de207c93409790f2f37 /plugins/xsettings
parentc0cb4b26dcb1d971517a2789188615551234117f (diff)
downloadgnome-settings-daemon-9d4c208fda2a8a5fa3f7d40813c79f75caed8a9f.tar.gz
xsettings: Make assertion in test a bit nicer
This just allows seeing the full list of options that is being matched.
Diffstat (limited to 'plugins/xsettings')
-rwxr-xr-xplugins/xsettings/test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/xsettings/test.py b/plugins/xsettings/test.py
index ae58bb78..b939f3ce 100755
--- a/plugins/xsettings/test.py
+++ b/plugins/xsettings/test.py
@@ -150,13 +150,12 @@ class XsettingsPluginTest(gsdtestcase.GSDTestCase):
# Turn on sounds
self.settings_sound['event-sounds'] = True
- time.sleep(1)
+ time.sleep(2)
# Check that both PK and canberra plugin are enabled
retval = self.obj_xsettings_props.Get('org.gtk.Settings', 'Modules')
values = sorted(str(retval).split(':'))
- self.assertEqual(values[0], 'canberra-gtk-module')
- self.assertEqual(values[1], 'pk-gtk-module')
+ self.assertEqual(values, ['canberra-gtk-module', 'pk-gtk-module'])
def test_enable_animations(self):
# Check that "Enable animations" is off