Changeset 5698

Show
Ignore:
Timestamp:
11/17/08 14:59:32 (2 months ago)
Author:
carndt
Message:

Fix wrong usage of config module in test_toscawidgets

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/turbogears/tests/test_toscawidgets.py

    r5665 r5698  
    6262        def setUp(self): 
    6363            self.defaultview =  tg.config.get('tg.defaultview', 'kid') 
    64             tg.update_config({ 
     64            tg.config.update({ 
    6565                'toscawidgets.on': True, 
    6666                'tg.defaultview': "genshi" 
     
    7070        def tearDown(self): 
    7171            super(ToscaWidgetsTest, self).tearDown() 
    72             tg.update_config({ 
     72            tg.config.update({ 
    7373                'toscawidgets.on': False, 
    7474                'tg.defaultview': self.defaultview