diff options
Diffstat (limited to 'python/qpid/tests/messaging.py')
-rw-r--r-- | python/qpid/tests/messaging.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/qpid/tests/messaging.py b/python/qpid/tests/messaging.py index 7bcbc455af..ea4ae6a7fb 100644 --- a/python/qpid/tests/messaging.py +++ b/python/qpid/tests/messaging.py @@ -613,6 +613,12 @@ class AddressTests(Base): self.badOption("{node-properties: {durable: []}}", "node-properties: durable: [] is not a bool") + def testNonQueueBindings(self): + self.badOption("{node-properties: {type: topic, x-properties: " + "{bindings: []}}}", + "node-properties: x-properties: bindings: " + "bindings are only permitted on nodes of type queue") + def testCreateQueue(self): snd = self.ssn.sender("test-create-queue; {create: always, delete: always, " "node-properties: {type: queue, durable: False, " |