summaryrefslogtreecommitdiffstats
path: root/python/tests/test-server.py
diff options
context:
space:
mode:
authorRobert McQueen <robot101@debian.org>2005-10-29 22:04:01 +0000
committerRobert McQueen <robot101@debian.org>2005-10-29 22:04:01 +0000
commit6fbd1c7ff5b1023f543a304db4f76fc6eeb4dbd5 (patch)
tree0ca5b3936376fe84c9df1153019f28408254310d /python/tests/test-server.py
parent20bcbaf21f4e94c48d6348a4ba8013d20f9e4d36 (diff)
2005-10-29 Robert McQueen <robot101@debian.org>
* 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/.
Diffstat (limited to 'python/tests/test-server.py')
-rw-r--r--python/tests/test-server.py17
1 files changed, 0 insertions, 17 deletions
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()