aboutsummaryrefslogtreecommitdiff
path: root/test/test-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-client.py')
-rwxr-xr-xtest/test-client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-client.py b/test/test-client.py
index a4ac8d2..a1d503f 100755
--- a/test/test-client.py
+++ b/test/test-client.py
@@ -2,10 +2,13 @@
import unittest
import dbus
+from dbus.mainloop.glib import DBusGMainLoop
import dbusmock
import subprocess
from gi.repository import GLib, Gio, MessagingMenu
+DBusGMainLoop(set_as_default=True)
+
class MessagingMenuTest(dbusmock.DBusTestCase):
@classmethod
def setUpClass(klass):