Changeset 6728
- Timestamp:
- 13 Sep 2011, 08:05:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscode.py
r6632 r6728 29 29 from datetime import datetime 30 30 from hurry.workflow.interfaces import InvalidTransitionError, IWorkflowState 31 from zope.app.testing.functional import (32 FunctionalTestSetup, getRootFolder)33 31 from zope.component.hooks import setSite, clearSite 34 32 from zope.interface.verify import verifyObject, verifyClass … … 36 34 from waeup.sirp.app import University 37 35 from waeup.sirp.interfaces import IObjectHistory, IWAeUPSIRPPluggable 38 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase 36 from waeup.sirp.testing import ( 37 FunctionalLayer, FunctionalTestCase, setUp, tearDown, getRootFolder) 39 38 from waeup.sirp.accesscodes.accesscode import ( 40 39 AccessCodeBatch, get_access_code, invalidate_accesscode, AccessCode, … … 436 435 (re.compile('[\d]{10}'), '<10-DIGITS>'), 437 436 ]) 438 439 def setUp(test):440 FunctionalTestSetup().setUp()441 442 def tearDown(self, test=None):443 FunctionalTestSetup().tearDown()444 445 437 446 438
Note: See TracChangeset for help on using the changeset viewer.