Changeset 7811 for main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests
- Timestamp:
- 8 Mar 2012, 19:00:51 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_accesscode.py
r7719 r7811 28 28 from zope.interface.verify import verifyObject, verifyClass 29 29 from zope.testing import renormalizing 30 from waeup. sirp.app import University31 from waeup. sirp.interfaces import IObjectHistory, ISIRPPluggable32 from waeup. sirp.testing import (30 from waeup.kofa.app import University 31 from waeup.kofa.interfaces import IObjectHistory, IKOFAPluggable 32 from waeup.kofa.testing import ( 33 33 FunctionalLayer, FunctionalTestCase, setUp, tearDown, getRootFolder) 34 from waeup. sirp.accesscodes.accesscode import (34 from waeup.kofa.accesscodes.accesscode import ( 35 35 AccessCodeBatch, get_access_code, invalidate_accesscode, AccessCode, 36 36 disable_accesscode, reenable_accesscode, fire_transition, 37 37 AccessCodeBatchContainer, AccessCodePlugin) 38 from waeup. sirp.accesscodes.interfaces import (38 from waeup.kofa.accesscodes.interfaces import ( 39 39 IAccessCode, IAccessCodeBatch, IAccessCodeBatchContainer,) 40 from waeup. sirp.accesscodes.workflow import INITIALIZED, USED, DISABLED40 from waeup.kofa.accesscodes.workflow import INITIALIZED, USED, DISABLED 41 41 42 42 … … 412 412 def test_iface(self): 413 413 plugin = AccessCodePlugin() 414 assert verifyObject(I SIRPPluggable, plugin)415 assert verifyClass(I SIRPPluggable, AccessCodePlugin)414 assert verifyObject(IKOFAPluggable, plugin) 415 assert verifyClass(IKOFAPluggable, AccessCodePlugin) 416 416 417 417 def test_update_w_ac_container(self): -
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_catalog.py
r7195 r7811 22 22 from zope.component.hooks import setSite 23 23 from zope.interface.verify import verifyClass, verifyObject 24 from waeup. sirp.app import University25 from waeup. sirp.interfaces import IQueryResultItem26 from waeup. sirp.testing import FunctionalLayer, FunctionalTestCase27 from waeup. sirp.accesscodes.accesscode import (24 from waeup.kofa.app import University 25 from waeup.kofa.interfaces import IQueryResultItem 26 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 27 from waeup.kofa.accesscodes.accesscode import ( 28 28 AccessCodeBatch, invalidate_accesscode, disable_accesscode) 29 from waeup. sirp.accesscodes.workflow import INITIALIZED, USED, DISABLED30 from waeup. sirp.accesscodes.catalog import AccessCodeQueryResultItem, search29 from waeup.kofa.accesscodes.workflow import INITIALIZED, USED, DISABLED 30 from waeup.kofa.accesscodes.catalog import AccessCodeQueryResultItem, search 31 31 32 32 class CatalogTestSetup(FunctionalTestCase): -
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_workflow.py
r7195 r7811 18 18 import shutil 19 19 import tempfile 20 from waeup. sirp.testing import FunctionalLayer, FunctionalTestCase21 from waeup. sirp.accesscodes.workflow import (20 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 21 from waeup.kofa.accesscodes.workflow import ( 22 22 invalidate_action, disable_used_action, disable_unused_action, 23 23 reenable_action,
Note: See TracChangeset for help on using the changeset viewer.