Ignore:
Timestamp:
13 Sep 2011, 08:09:31 (13 years ago)
Author:
uli
Message:

Use logger-aware w.s.testing components for testing.
Remove unused imports.

File:
1 edited

Legend:

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

    r6632 r6729  
    2222import shutil
    2323import tempfile
    24 import unittest
    25 from zope.app.testing.functional import (
    26     FunctionalTestCase, FunctionalTestSetup, getRootFolder)
    2724from zope.catalog.interfaces import ICatalog
    2825from zope.component import queryUtility
    29 from zope.component.hooks import setSite, clearSite
     26from zope.component.hooks import setSite
    3027from zope.interface.verify import verifyClass, verifyObject
    3128from waeup.sirp.app import University
    3229from waeup.sirp.interfaces import IQueryResultItem
    33 from waeup.sirp.testing import FunctionalLayer
     30from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    3431from waeup.sirp.accesscodes.accesscode import (
    35     AccessCode, AccessCodeBatch, invalidate_accesscode, disable_accesscode)
     32    AccessCodeBatch, invalidate_accesscode, disable_accesscode)
    3633from waeup.sirp.accesscodes.workflow import INITIALIZED, USED, DISABLED
    3734from waeup.sirp.accesscodes.catalog import AccessCodeQueryResultItem, search
Note: See TracChangeset for help on using the changeset viewer.