diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-01-22 14:26:11 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-01-22 14:26:11 +0000 |
commit | 631dfd9bd1b96540ccdc5d2419f2c47a9e15253e (patch) | |
tree | de56c5158b51649270fbcc194d33cd3bbd5c606f /python/qpid/tests/address.py | |
parent | 578ab4e8631e778bfdbb4f88b030314471394d53 (diff) | |
download | qpid-python-631dfd9bd1b96540ccdc5d2419f2c47a9e15253e.tar.gz |
added boolean literals to java & python address parser; added validation to python address usage
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/address.py')
-rw-r--r-- | python/qpid/tests/address.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/qpid/tests/address.py b/python/qpid/tests/address.py index 07349d8c6c..7e6c6a5ee5 100644 --- a/python/qpid/tests/address.py +++ b/python/qpid/tests/address.py @@ -303,3 +303,7 @@ class AddressTests(ParserBase, Test): def testMap3(self): self.valid('name/subject; { "foo.bar": value }', "name", "subject", {"foo.bar": "value"}) + + def testBoolean(self): + self.valid("name/subject; { true: True, false: False }", + "name", "subject", {"true": True, "false": False}) |