dbus/test/python test-client.py,1.16,1.17

Robert McQueen robot101 at freedesktop.org
Sun Nov 27 08:40:59 PST 2005


Update of /cvs/dbus/dbus/test/python
In directory gabe:/tmp/cvs-serv16946/test/python

Modified Files:
	test-client.py 
Log Message:
2005-11-27  Robert McQueen  <robot101 at debian.org>

	* python/dbus_bindings.pyx: Fix a bug where doing a strict append
	with type v of an instance of dbus.Variant(foo, type='x') caused
	it to be boxed twice before sending over the bus.

	* python/dbus_bindings.pyx, python/service.py,
	test/python/test-client.py: Update the constants for the new
	request_name flags, and update comments/test cases now that queueing
	is the default action.

Index: test-client.py
===================================================================
RCS file: /cvs/dbus/dbus/test/python/test-client.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- test-client.py	15 Nov 2005 17:19:19 -0000	1.16
+++ test-client.py	27 Nov 2005 16:40:57 -0000	1.17
@@ -227,8 +227,9 @@
         print '\n******** Testing BusName creation ********'
         test = [('org.freedesktop.DBus.Python.TestName', True),
                 ('org.freedesktop.DBus.Python.TestName', True),
-                ('org.freedesktop.DBus.Python.InvalidName&^*%$', False),
-                ('org.freedesktop.DBus.TestSuitePythonService', False)]
+                ('org.freedesktop.DBus.Python.InvalidName&^*%$', False)]
+        # Do some more intelligent handling/testing of queueing vs success?
+        # ('org.freedesktop.DBus.TestSuitePythonService', False)]
         # For some reason this actually succeeds
         # ('org.freedesktop.DBus', False)]
 



More information about the dbus-commit mailing list