summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-01-19 23:00:38 +0000
committerAlan Conway <aconway@apache.org>2012-01-19 23:00:38 +0000
commit26161156a17164d62010dd9d531a96906b73ce0e (patch)
treefcdb5c40a42565bbb393617098643771838d8c39 /qpid/python
parent5ea482321f8ed09ab7c5fd26634d0174ad5ef6fd (diff)
downloadqpid-python-26161156a17164d62010dd9d531a96906b73ce0e.tar.gz
QPID-3603: Prototype of replicating browser.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/tests/messaging/endpoints.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/python/qpid/tests/messaging/endpoints.py b/qpid/python/qpid/tests/messaging/endpoints.py
index db5ec03df2..935db54458 100644
--- a/qpid/python/qpid/tests/messaging/endpoints.py
+++ b/qpid/python/qpid/tests/messaging/endpoints.py
@@ -886,9 +886,11 @@ class ReceiverTests(Base):
rc = self.ssn.receiver('test-receiver-queue; {mode: consume}')
self.drain(rb, expected=msgs)
self.drain(rc, expected=msgs)
- rb2 = self.ssn.receiver(rb.source)
- self.assertEmpty(rb2)
+ 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)
# XXX: need testUnsettled()