diff options
author | Alan Conway <aconway@apache.org> | 2006-09-27 19:50:23 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2006-09-27 19:50:23 +0000 |
commit | caca23c5dc055d985fecfe188573104bc707ad9d (patch) | |
tree | 154c0bbd4c7bca70080de28116b5654491657906 /python/tests/testlib.py | |
parent | 9d718c2348708b0b27ce9fb9fcbf05c4b0a997cc (diff) | |
download | qpid-python-caca23c5dc055d985fecfe188573104bc707ad9d.tar.gz |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/testlib.py')
-rw-r--r-- | python/tests/testlib.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/python/tests/testlib.py b/python/tests/testlib.py index a50f8140b4..6a2efb6a11 100644 --- a/python/tests/testlib.py +++ b/python/tests/testlib.py @@ -52,3 +52,12 @@ class TestBaseTest(TestBase): self.fail("assertEmpty did not assert on non-empty queue") except AssertionError: None # Ignore + def testMessageProperties(self): + """Verify properties are passed with message""" + props={"headers":{"x":1, "y":2}} + self.queue_declare(queue="q") + q = self.consume("q") + self.assertPublishGet(q, routing_key="q", properties=props) + + + |