diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2007-10-16 10:21:20 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2007-10-16 10:21:20 +0000 |
| commit | 2e7a0f670684ccd696316666c6a1d61849f67e80 (patch) | |
| tree | 0f950e109fee382ef06a1997d2edca1a3d39cdd0 /qpid/python | |
| parent | 91ac5922f2d5aa5ca0ad01b9e23271e90c1c8bcc (diff) | |
| download | qpid-python-2e7a0f670684ccd696316666c6a1d61849f67e80.tar.gz | |
Implementation of 0-10 field tables
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@585097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/cpp_failing_0-10.txt | 3 | ||||
| -rw-r--r-- | qpid/python/qpid/codec.py | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/qpid/python/cpp_failing_0-10.txt b/qpid/python/cpp_failing_0-10.txt index 8a8a3e1b20..80e3d44935 100644 --- a/qpid/python/cpp_failing_0-10.txt +++ b/qpid/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/qpid/python/qpid/codec.py b/qpid/python/qpid/codec.py index c54d48df52..18928698a5 100644 --- a/qpid/python/qpid/codec.py +++ b/qpid/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") |
