Commits

percious  committed 13844ac

19 failures now.

  • Participants
  • Parent commits 82eca44

Comments (0)

Files changed (2)

File tw2/core/testbase/base.py

 tw2.core.core.request_local = request_local_tst
 from tw2.core.core import request_local
 
-_request_local=None
+_request_local={}
 _request_id=None
 
 

File tw2/core/widgets.py

 
         super(CompoundWidget, self).post_define()
 
-        self.c = WidgetBunch(self.children)
+        self.children = WidgetBunch(self.children)
+        #set up an alias for the children attr
+        self.c = self.children
         ids = set()
         for c in self.children:
             c_id = getattr(c, 'id', None)