You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2007/02/21 20:24:02 UTC
svn commit: r510160 - /incubator/qpid/trunk/qpid/python/tests/queue.py
Author: gsim
Date: Wed Feb 21 11:24:02 2007
New Revision: 510160
URL: http://svn.apache.org/viewvc?view=rev&rev=510160
Log:
Fixed cases where open channel was re-opened.
Modified:
incubator/qpid/trunk/qpid/python/tests/queue.py
Modified: incubator/qpid/trunk/qpid/python/tests/queue.py
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/tests/queue.py?view=diff&rev=510160&r1=510159&r2=510160
==============================================================================
--- incubator/qpid/trunk/qpid/python/tests/queue.py (original)
+++ incubator/qpid/trunk/qpid/python/tests/queue.py Wed Feb 21 11:24:02 2007
@@ -155,8 +155,7 @@
"""
Test basic queue deletion
"""
- channel = self.client.channel(1)
- channel.channel_open()
+ channel = self.channel
#straight-forward case:
channel.queue_declare(queue="delete-me")
@@ -187,8 +186,7 @@
"""
Test that if_empty field of queue_delete is honoured
"""
- channel = self.client.channel(1)
- channel.channel_open()
+ channel = self.channel
#create a queue and add a message to it (use default binding):
channel.queue_declare(queue="delete-me-2")
@@ -227,8 +225,7 @@
"""
Test that if_unused field of queue_delete is honoured
"""
- channel = self.client.channel(1)
- channel.channel_open()
+ channel = self.channel
#create a queue and register a consumer:
channel.queue_declare(queue="delete-me-3")