From 6fbd1c7ff5b1023f543a304db4f76fc6eeb4dbd5 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Sat, 29 Oct 2005 22:04:01 +0000 Subject: 2005-10-29 Robert McQueen * python/dbus_bindings.pyx: Tweak 'raise AssertionError' to assert(). Add checking for the end of struct character when marshalling a struct in MessageIter.append_strict. * python/examples/example-service.py, python/examples/gconf-proxy-service.py, python/examples/gconf-proxy-service2.py: Update to use gobject mainloop directly rather than appearing to depend on gtk. * python/test/test-client.py, python/test/test-server.py: Remove obsolete and broken test scripts for old bindings. We have up to date and working tests in test/python/. --- python/tests/test-server.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 python/tests/test-server.py (limited to 'python/tests/test-server.py') diff --git a/python/tests/test-server.py b/python/tests/test-server.py deleted file mode 100644 index 235da701..00000000 --- a/python/tests/test-server.py +++ /dev/null @@ -1,17 +0,0 @@ -import dbus -import gtk - -class TestObject(dbus.Object): - def __init__(self, service): - method_list = [ self.Echo ] - dbus.Object.__init__(self, "/TestObject", service, method_list) - - def Echo(self, variable): - return variable - -session_bus = dbus.SessionBus() - -local_service = dbus.Service("org.designfu.Test", bus=session_bus) -local_object = TestObject(local_service) - -gtk.main() -- cgit