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 | 3d9cd9a1f350c8970c6cd0da20d918b831342636 (patch) | |
| tree | 18178234a4807121b06f35a78c23dc2a33076da5 /qpid/python/tests/testlib.py | |
| parent | cb3fe168a5c4c0c91b5d32ff28b176d57c8eb870 (diff) | |
| download | qpid-python-3d9cd9a1f350c8970c6cd0da20d918b831342636.tar.gz | |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@450556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/testlib.py')
| -rw-r--r-- | qpid/python/tests/testlib.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qpid/python/tests/testlib.py b/qpid/python/tests/testlib.py index a50f8140b4..6a2efb6a11 100644 --- a/qpid/python/tests/testlib.py +++ b/qpid/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) + + + |
