Changeset 5865 for main/waeup.sirp/trunk
- Timestamp:
- 14 Mar 2011, 07:39:17 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/testing.py
r5796 r5865 8 8 from zope.app.testing.functional import ZCMLLayer 9 9 from zope.component import getGlobalSiteManager 10 from zope.security.testing import addCheckerPublic 10 11 from zope.testing.cleanup import cleanUp 11 12 … … 118 119 if len(list(gsm.registeredHandlers())) > 0: 119 120 return False 121 # Register the zope.Public permission, normally done via ZCML setup. 122 addCheckerPublic() 120 123 warnings.simplefilter('ignore') # disable (erraneous) warnings 121 124 grok.testing.grok('waeup.sirp') … … 161 164 @classmethod 162 165 def setUp(cls): 166 #setUpZope(None) 163 167 grokked = maybe_grok() 164 168 if grokked: 165 setUpZope(None) 169 pass 170 #setUpZope(None) 166 171 return 167 172
Note: See TracChangeset for help on using the changeset viewer.