diff options
author | Gordon Sim <gsim@apache.org> | 2007-02-21 19:24:02 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-02-21 19:24:02 +0000 |
commit | f74e4dc27d1655760d0213fd60cc75c272c26f00 (patch) | |
tree | 5685339cfabc9de785ec1e56de708ff4670ed904 /python/tests/queue.py | |
parent | 06078d52b5df0c3eb155a2895d5331880791212e (diff) | |
download | qpid-python-f74e4dc27d1655760d0213fd60cc75c272c26f00.tar.gz |
Fixed cases where open channel was re-opened.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@510160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/queue.py')
-rw-r--r-- | python/tests/queue.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/python/tests/queue.py b/python/tests/queue.py index 9e32c44fd5..60ac4c3dfb 100644 --- a/python/tests/queue.py +++ b/python/tests/queue.py @@ -155,8 +155,7 @@ class QueueTests(TestBase): """ 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 @@ class QueueTests(TestBase): """ 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 @@ class QueueTests(TestBase): """ 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") |