summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-02-17 14:13:31 +0000
committerAlan Conway <aconway@apache.org>2012-02-17 14:13:31 +0000
commitf0321dcd5fa9e7ffe75ef444cf19cb192db01baa (patch)
tree0b48bcc6a79dbbf114168276df9c19aee53ea480
parent1b390a851f996d058123e7709839455c8b761dab (diff)
downloadqpid-python-f0321dcd5fa9e7ffe75ef444cf19cb192db01baa.tar.gz
QPID-3603: Remove FIXME comment from python driver.py
Fix agreed on by rhs. Updated test endpoints.py from trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245529 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/python/qpid/tests/messaging/endpoints.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/qpid/python/qpid/tests/messaging/endpoints.py b/qpid/python/qpid/tests/messaging/endpoints.py
index 935db54458..db5ec03df2 100644
--- a/qpid/python/qpid/tests/messaging/endpoints.py
+++ b/qpid/python/qpid/tests/messaging/endpoints.py
@@ -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()