diff options
author | Rafael H. Schloming <rhs@apache.org> | 2007-10-14 02:21:59 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2007-10-14 02:21:59 +0000 |
commit | 9637c6b5095e9fadc895288508888c4c54c8de91 (patch) | |
tree | 6fade7cb8a21adb3d55c8d4f467941d0927d635d /python/tests/spec.py | |
parent | 92e0c21cfbe396079abac9ae7e884d86371170bb (diff) | |
download | qpid-python-9637c6b5095e9fadc895288508888c4c54c8de91.tar.gz |
Enabled packed struct encoding in python, cpp, and java. Also fixed computation of required byte credit in Message.cpp.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584474 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/spec.py')
-rw-r--r-- | python/tests/spec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/spec.py b/python/tests/spec.py index c00faad3ba..ce03640493 100644 --- a/python/tests/spec.py +++ b/python/tests/spec.py @@ -32,13 +32,13 @@ class SpecTest(TestCase): if (spec.major == 0 and spec.minor == 10): assert qdecl_ok == None reply_to = spec.domains.byname["reply_to"] - assert reply_to.type.size == "short" - assert reply_to.type.pack == "short" + assert reply_to.type.size == 2 + assert reply_to.type.pack == 2 assert len(reply_to.type.fields) == 2 qq = spec.method("queue_query") assert qq != None - assert qq.result.size == "long" + assert qq.result.size == 4 assert qq.result.type != None args = qq.result.fields.byname["arguments"] assert args.type == "table" |