aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-03-05 17:54:26 -0500
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-03-05 17:54:26 -0500
commit36a89063932aea9ae94bf67d9c51d80c01bebaa8 (patch)
treef63b87d01c2da8db37845ec205f31f60a4c3ab3e
parent701aadff88796f71250442156f6e3385648d7b05 (diff)
downloadayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.tar.gz
ayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.tar.bz2
ayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.zip
Use glib mainloop in dbusmock test
-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):