Changeset 6728 for main


Ignore:
Timestamp:
13 Sep 2011, 08:05:18 (13 years ago)
Author:
uli
Message:

Use logger-aware components from w.s.testing to remove loggers
properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscode.py

    r6632 r6728  
    2929from datetime import datetime
    3030from hurry.workflow.interfaces import InvalidTransitionError, IWorkflowState
    31 from zope.app.testing.functional import (
    32     FunctionalTestSetup, getRootFolder)
    3331from zope.component.hooks import setSite, clearSite
    3432from zope.interface.verify import verifyObject, verifyClass
     
    3634from waeup.sirp.app import University
    3735from waeup.sirp.interfaces import IObjectHistory, IWAeUPSIRPPluggable
    38 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
     36from waeup.sirp.testing import (
     37    FunctionalLayer, FunctionalTestCase, setUp, tearDown, getRootFolder)
    3938from waeup.sirp.accesscodes.accesscode import (
    4039    AccessCodeBatch, get_access_code, invalidate_accesscode, AccessCode,
     
    436435        (re.compile('[\d]{10}'), '<10-DIGITS>'),
    437436        ])
    438 
    439 def setUp(test):
    440     FunctionalTestSetup().setUp()
    441 
    442 def tearDown(self, test=None):
    443     FunctionalTestSetup().tearDown()
    444 
    445437
    446438
Note: See TracChangeset for help on using the changeset viewer.