summaryrefslogtreecommitdiff
path: root/test/cross-test-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/cross-test-client.py')
-rw-r--r--test/cross-test-client.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cross-test-client.py b/test/cross-test-client.py
index 781b401..3186832 100644
--- a/test/cross-test-client.py
+++ b/test/cross-test-client.py
@@ -376,13 +376,12 @@ class Client(SignalTestsImpl):
if __name__ == '__main__':
# FIXME: should be possible to export objects without a bus name
- bus_name = BusName('com.example.Argh')
if 0:
- client = Client(bus_name, '/Client')
+ client = Client(dbus.SessionBus(), '/Client')
else:
# the Java cross test's interpretation is that the client should be
# at /Test too
- client = Client(bus_name, '/Test')
+ client = Client(dbus.SessionBus(), '/Test')
gobject.idle_add(client.run_client)
loop = gobject.MainLoop()