summaryrefslogtreecommitdiff
path: root/qpid/python/tests
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2007-10-14 02:21:59 +0000
committerRafael H. Schloming <rhs@apache.org>2007-10-14 02:21:59 +0000
commite0ba5becd0052cabe0cfa997dd35d7362bf2c472 (patch)
tree5c55f1dd6be53c4032be45ba422dacca1ded197f /qpid/python/tests
parent2a10deef36eec1b8df9ec52dfb44a72eee7059a8 (diff)
downloadqpid-python-e0ba5becd0052cabe0cfa997dd35d7362bf2c472.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@584474 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests')
-rw-r--r--qpid/python/tests/spec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/python/tests/spec.py b/qpid/python/tests/spec.py
index c00faad3ba..ce03640493 100644
--- a/qpid/python/tests/spec.py
+++ b/qpid/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"