Changeset 6658 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 2 Sep 2011, 11:43:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/tests/test_permissions.py
r6645 r6658 30 30 import shutil 31 31 import tempfile 32 from zope.app.testing.functional import FunctionalTestCase33 32 from zope.app.testing.functional import HTTPCaller as http 34 33 from zope.component import createObject … … 77 76 def setUp(self): 78 77 super(PermissionTest, self).setUp() 79 #remove_logger('waeup.sirp.app')80 self.old_loggers = get_all_loggers()81 78 # Set up a complete university to have every page available... 82 79 app = University() … … 104 101 pass 105 102 106 #def cleanUp(self):107 # super(PermissionTest, self).cleanUp()108 # clearSite()109 # shutil.rmtree(self.dc_root)110 111 103 def tearDown(self): 112 104 super(PermissionTest, self).tearDown() 113 remove_new_loggers(self.old_loggers)105 clearSite() 114 106 shutil.rmtree(self.dc_root) 115 107 return
Note: See TracChangeset for help on using the changeset viewer.