diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-03-05 17:54:26 -0500 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-03-05 17:54:26 -0500 |
commit | 36a89063932aea9ae94bf67d9c51d80c01bebaa8 (patch) | |
tree | f63b87d01c2da8db37845ec205f31f60a4c3ab3e | |
parent | 701aadff88796f71250442156f6e3385648d7b05 (diff) | |
download | ayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.tar.gz ayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.tar.bz2 ayatana-indicator-messages-36a89063932aea9ae94bf67d9c51d80c01bebaa8.zip |
Use glib mainloop in dbusmock test
-rwxr-xr-x | test/test-client.py | 3 |
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): |