diff options
author | Seth Nickell <seth@gnome.org> | 2004-07-18 21:44:37 +0000 |
---|---|---|
committer | Seth Nickell <seth@gnome.org> | 2004-07-18 21:44:37 +0000 |
commit | 5d0ed9c7044da04374ef3abd49eff14ec6b285ab (patch) | |
tree | 55c42a4710d2512cea29d7ebef97b719d96727aa /python/tests/test-client.py | |
parent | 5afe4265eaa30afa7d93eb1550839c56360abeda (diff) |
2004-07-18 Seth Nickell <seth@gnome.org>
* python/dbus.py:
* python/dbus_bindings.pyx.in:
* python/tests/test-client.py:
Add dbus.ByteArray and dbus_bindings.ByteArray
types so that byte streams can be passed back.
Give jdahlin the heaps of credit that are so
rightfully his.
Diffstat (limited to 'python/tests/test-client.py')
-rw-r--r-- | python/tests/test-client.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/python/tests/test-client.py b/python/tests/test-client.py index 6a73cbd2..5dc6e20c 100644 --- a/python/tests/test-client.py +++ b/python/tests/test-client.py @@ -1,5 +1,4 @@ import dbus -import dbus_bindings def ensure_same(expected, received): if type(received) != type(expected): @@ -56,8 +55,8 @@ TestEcho(chr(120)) TestEcho(10) TestEcho(39.5) TestEcho("HelloWorld") -TestEcho(dbus_bindings.ObjectPath("/test/path")) - +TestEcho(dbus.ObjectPath("/test/path")) +TestEcho(dbus.ByteArray("blahblahblah")) string_list = [] for i in range(200): @@ -69,7 +68,7 @@ TestEchoList(int_list) path_list = [] for i in range(200): - path_list.append(dbus_bindings.ObjectPath("/some/object/path" + str(i))) + path_list.append(dbus.ObjectPath("/some/object/path" + str(i))) TestEchoList(path_list) double_list = [] |