Changeset 7321 for main/waeup.sirp/trunk/src/waeup/sirp/tests
- Timestamp:
- 10 Dec 2011, 06:15:17 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/tests/test_interfaces.py
r7193 r7321 48 48 # Register a role not visible to waeup portal as its name does 49 49 # not start with 'waeup.' 50 class Non WAeUPRole(grok.Role):50 class NonSIRPRole(grok.Role): 51 51 grok.name('nonwaeup.testrole') 52 52 grok.title('Role not suitable for waeup') 53 53 grok.permissions('waeup.Public') 54 54 grok.testing.grok_component('SomeRole', SomeRole) 55 grok.testing.grok_component('Non WAeUPRole', NonWAeUPRole)55 grok.testing.grok_component('NonSIRPRole', NonSIRPRole) 56 56 return 57 57 -
main/waeup.sirp/trunk/src/waeup/sirp/tests/test_objecthistory.py
r7193 r7321 26 26 from zope.security.testing import Principal, Participation 27 27 from waeup.sirp.app import University 28 from waeup.sirp.interfaces import IObjectHistory, I WAeUPObject28 from waeup.sirp.interfaces import IObjectHistory, ISIRPObject 29 29 from waeup.sirp.testing import FunctionalTestCase, FunctionalLayer 30 30 from waeup.sirp.objecthistory import ObjectHistory 31 31 32 32 class SampleObject(grok.Model): 33 grok.implements(I WAeUPObject)33 grok.implements(ISIRPObject) 34 34 pass 35 35
Note: See TracChangeset for help on using the changeset viewer.