summaryrefslogtreecommitdiff
path: root/qpid/python/qpid/tests/messaging/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/qpid/tests/messaging/message.py')
-rw-r--r--qpid/python/qpid/tests/messaging/message.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/qpid/python/qpid/tests/messaging/message.py b/qpid/python/qpid/tests/messaging/message.py
index 930c031abb..654076588b 100644
--- a/qpid/python/qpid/tests/messaging/message.py
+++ b/qpid/python/qpid/tests/messaging/message.py
@@ -68,20 +68,7 @@ class MessageEchoTests(Base):
def check(self, msg):
self.snd.send(msg)
echo = self.rcv.fetch(0)
-
- assert msg.id == echo.id
- assert msg.subject == echo.subject
- assert msg.user_id == echo.user_id
- assert msg.to == echo.to
- assert msg.reply_to == echo.reply_to
- assert msg.correlation_id == echo.correlation_id
- assert msg.durable == echo.durable
- assert msg.priority == echo.priority
- assert msg.ttl == echo.ttl
- assert msg.properties == echo.properties
- assert msg.content_type == echo.content_type
- assert msg.content == echo.content, "%s, %s" % (msg, echo)
-
+ self.assertEcho(msg, echo)
self.ssn.acknowledge(echo)
def testStringContent(self):