summaryrefslogtreecommitdiff
path: root/qpid/python/tests_0-10
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-04-24 15:24:51 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-04-24 15:24:51 +0000
commite48979cba21658045c8ccb7fd17a8fb354fd7984 (patch)
tree78f8717dfc7898d92d08627a9c17cdf5b604e7f5 /qpid/python/tests_0-10
parent506e9145d1be22eb13560ec34658334d5211e5c7 (diff)
downloadqpid-python-e48979cba21658045c8ccb7fd17a8fb354fd7984.tar.gz
QPID-953 from tross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests_0-10')
-rw-r--r--qpid/python/tests_0-10/management.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/python/tests_0-10/management.py b/qpid/python/tests_0-10/management.py
index e893dbbd87..b2ab617244 100644
--- a/qpid/python/tests_0-10/management.py
+++ b/qpid/python/tests_0-10/management.py
@@ -50,6 +50,7 @@ class ManagementTest (TestBase010):
self.assertEqual (res.statusText, "OK")
self.assertEqual (res.sequence, seq)
self.assertEqual (res.body, body)
+ mc.removeChannel (mch)
def test_system_object (self):
session = self.session
@@ -60,6 +61,7 @@ class ManagementTest (TestBase010):
mc.syncWaitForStable (mch)
systems = mc.syncGetObjects (mch, "system")
self.assertEqual (len (systems), 1)
+ mc.removeChannel (mch)
def test_standard_exchanges (self):
session = self.session
@@ -81,6 +83,7 @@ class ManagementTest (TestBase010):
self.assertEqual (exchange.type, "headers")
exchange = self.findExchange (exchanges, "qpid.management")
self.assertEqual (exchange.type, "topic")
+ mc.removeChannel (mch)
def findExchange (self, exchanges, name):
for exchange in exchanges: