summaryrefslogtreecommitdiff
path: root/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
commit841ceb18e777e49ccddc189419265f5e0b20fedf (patch)
treecdd95ace16bdd35e40970ee6861f8b8e1c67c0ea /python/tests_0-10
parentd42b7bc8854f30c397c65641bc7adaeb21808e21 (diff)
downloadqpid-python-841ceb18e777e49ccddc189419265f5e0b20fedf.tar.gz
QPID-953 from tross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests_0-10')
-rw-r--r--python/tests_0-10/management.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tests_0-10/management.py b/python/tests_0-10/management.py
index e893dbbd87..b2ab617244 100644
--- a/python/tests_0-10/management.py
+++ b/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: