- Timestamp:
- 13 Nov 2014, 16:54:17 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/mandates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/mandates/browser.py
r11952 r11954 20 20 import grok 21 21 from waeup.ikoba.browser.layout import UtilityView 22 from waeup.ikoba.interfaces import I Institution22 from waeup.ikoba.interfaces import ICompany 23 23 from waeup.ikoba.interfaces import MessageFactory as _ 24 24 … … 26 26 """View to execute mandate. 27 27 """ 28 grok.context(I Institution)28 grok.context(ICompany) 29 29 grok.name('mandate') 30 30 grok.require('waeup.Public') -
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/mandates/container.py
r11952 r11954 49 49 50 50 class MandatesPlugin(grok.GlobalUtility): 51 """A plugin that creates container for mandates inside a institution.51 """A plugin that creates container for mandates inside a company. 52 52 """ 53 53 grok.implements(IIkobaPluggable) -
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/mandates/tests.py
r11952 r11954 27 27 from zope.component import createObject 28 28 from zope.component.hooks import setSite, clearSite 29 from waeup.ikoba.app import Institution29 from waeup.ikoba.app import Company 30 30 from waeup.ikoba.interfaces import IUserAccount 31 31 from waeup.ikoba.mandates.interfaces import ( … … 63 63 64 64 # Setup a sample site for each test 65 app = Institution()65 app = Company() 66 66 self.dc_root = tempfile.mkdtemp() 67 67 app['datacenter'].setStoragePath(self.dc_root)
Note: See TracChangeset for help on using the changeset viewer.