summaryrefslogtreecommitdiff
path: root/python/tests_0-10/management.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10/management.py')
-rw-r--r--python/tests_0-10/management.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/tests_0-10/management.py b/python/tests_0-10/management.py
index b2ab617244..3ca7284d2a 100644
--- a/python/tests_0-10/management.py
+++ b/python/tests_0-10/management.py
@@ -63,6 +63,21 @@ class ManagementTest (TestBase010):
self.assertEqual (len (systems), 1)
mc.removeChannel (mch)
+ def test_self_session_id (self):
+ session = self.session
+
+ mc = managementClient (session.spec)
+ mch = mc.addChannel (session)
+
+ info = mc.syncWaitForStable (mch)
+ brokerSessions = mc.syncGetObjects (mch, "session")
+ found = False
+ for bs in brokerSessions:
+ if bs.name == info[1]:
+ found = True
+ self.assertEqual (found, True)
+ mc.removeChannel (mch)
+
def test_standard_exchanges (self):
session = self.session