diff options
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) + + + |