From 9637c6b5095e9fadc895288508888c4c54c8de91 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Sun, 14 Oct 2007 02:21:59 +0000 Subject: 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 --- python/tests/spec.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tests') 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" -- cgit v1.2.1