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 | c3b7f29e97cbcd5b44a0dc5efcfd439e9427eac8 (patch) | |
tree | ce202690618b0c1ab7f1d8e95b8464cbfb0ae9f9 /qpid/python/tests/queue.py | |
parent | 9bb5021990b22a605f7fd87687f4296cf12bb160 (diff) | |
download | qpid-python-c3b7f29e97cbcd5b44a0dc5efcfd439e9427eac8.tar.gz |
Fixed cases where open channel was re-opened.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@510160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/queue.py')
-rw-r--r-- | qpid/python/tests/queue.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/qpid/python/tests/queue.py b/qpid/python/tests/queue.py index 9e32c44fd5..60ac4c3dfb 100644 --- a/qpid/python/tests/queue.py +++ b/qpid/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") |