Changeset 6658 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 2 Sep 2011, 11:43:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_container.py
r6641 r6658 39 39 40 40 def setUp(self): 41 remove_logger('waeup.sirp.app.students') 41 42 super(StudentsContainerTestCase, self).setUp() 42 remove_logger('waeup.sirp.app.students')43 self.old_loggers = get_all_loggers()44 43 # Setup a sample site for each test 45 46 44 # Prepopulate the ZODB... 47 45 app = University() … … 49 47 self.app = self.getRootFolder()['app'] 50 48 setSite(self.app) 51 52 49 self.dc_root = tempfile.mkdtemp() 53 50 app['datacenter'].setStoragePath(self.dc_root) … … 56 53 def tearDown(self): 57 54 super(StudentsContainerTestCase, self).tearDown() 58 remove_new_loggers(self.old_loggers)55 clearSite() 59 56 shutil.rmtree(self.dc_root) 60 57 return
Note: See TracChangeset for help on using the changeset viewer.