summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-10-16 10:21:20 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-10-16 10:21:20 +0000
commit5113fdd829e956b6836c102c13b83fb8105a7453 (patch)
tree600ada669c06d834c4509ea6c277deeaefc9effa /python
parent0ae648d78f3970eb7fc96f000a5ba4f6444e4b6e (diff)
downloadqpid-python-5113fdd829e956b6836c102c13b83fb8105a7453.tar.gz
Implementation of 0-10 field tables
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/cpp_failing_0-10.txt3
-rw-r--r--python/qpid/codec.py9
2 files changed, 7 insertions, 5 deletions
diff --git a/python/cpp_failing_0-10.txt b/python/cpp_failing_0-10.txt
index 8a8a3e1b20..80e3d44935 100644
--- a/python/cpp_failing_0-10.txt
+++ b/python/cpp_failing_0-10.txt
@@ -1,3 +1,6 @@
+tests.codec.FieldTableTestCase.test_field_table_decode
+tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
+tests.codec.FieldTableTestCase.test_field_table_name_value_pair
tests_0-10.alternate-exchange.AlternateExchangeTests.test_immediate
tests_0-10.broker.BrokerTests.test_closed_channel
diff --git a/python/qpid/codec.py b/python/qpid/codec.py
index c54d48df52..18928698a5 100644
--- a/python/qpid/codec.py
+++ b/python/qpid/codec.py
@@ -68,11 +68,10 @@ class Codec:
dict: "table"
}
- if False:
- for constant in self.spec.constants:
- if constant.klass == "field-table-type":
- type = constant.name.replace("field_table_", "")
- self.typecode(constant.id, TYPE_ALIASES.get(type, type))
+ for constant in self.spec.constants:
+ if constant.klass == "field-table-type":
+ type = constant.name.replace("field_table_", "")
+ self.typecode(constant.id, TYPE_ALIASES.get(type, type))
if not self.types:
self.typecode(ord('S'), "longstr")