[rhmessaging-commits] rhmessaging commits: r2082 - mgmt/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed May 28 10:57:36 EDT 2008


Author: justi9
Date: 2008-05-28 10:57:36 -0400 (Wed, 28 May 2008)
New Revision: 2082

Modified:
   mgmt/cumin/python/cumin/test.py
Log:
Reorder the top-level tests to avoid name collisions

Modified: mgmt/cumin/python/cumin/test.py
===================================================================
--- mgmt/cumin/python/cumin/test.py	2008-05-28 14:32:49 UTC (rev 2081)
+++ mgmt/cumin/python/cumin/test.py	2008-05-28 14:57:36 UTC (rev 2082)
@@ -22,6 +22,7 @@
         self.vhost = None
         self.queue = None
         self.exchange = None
+        self.broker_group = None
 
     def init(self):
         self.broker_conn.open()
@@ -203,8 +204,8 @@
     def __init__(self, env):
         super(MainTest, self).__init__(env, None)
 
-        BrokerRegistrationTest(env, self)
         BrokerGroupTest(env, self)
+        BrokerRegistrationTest(env, self)
 
 class BrokerRegistrationTest(Test):
     def __init__(self, env, parent):
@@ -240,11 +241,6 @@
 
     class AddToGroup(Test):
         def do_run(self, session):
-            group = BrokerGroup(name=session.id)
-            group.sync()
-
-            p, s = self.env.page_and_session()
-
             raise Exception("Not implemented")
 
     class Remove(Test):




More information about the rhmessaging-commits mailing list