You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2012/02/17 15:18:11 UTC
svn commit: r1245562 -
/qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py
Author: aconway
Date: Fri Feb 17 14:18:10 2012
New Revision: 1245562
URL: http://svn.apache.org/viewvc?rev=1245562&view=rev
Log:
QPID-3603: Revert incorrect tests in qpid.tests.messaging.endpoints.ReceiverTests.testMode
Modified:
qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py
Modified: qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py?rev=1245562&r1=1245561&r2=1245562&view=diff
==============================================================================
--- qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py (original)
+++ qpid/branches/qpid-3603-7/qpid/python/qpid/tests/messaging/endpoints.py Fri Feb 17 14:18:10 2012
@@ -886,11 +886,9 @@ class ReceiverTests(Base):
rc = self.ssn.receiver('test-receiver-queue; {mode: consume}')
self.drain(rb, expected=msgs)
self.drain(rc, expected=msgs)
- rc2 = self.ssn.receiver(rc.source)
- self.assertEmpty(rc2)
- self.drain(self.rcv, expected=[])
rb2 = self.ssn.receiver(rb.source)
- self.drain(rb2, expected=msgs)
+ self.assertEmpty(rb2)
+ self.drain(self.rcv, expected=[])
# XXX: need testUnsettled()
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org