Changeset 6733 for main/waeup.sirp/trunk


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

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

File:
1 edited

Legend:

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

    r6632 r6733  
    1616import shutil
    1717import tempfile
    18 import unittest
    19 from zope.app.testing.functional import (
    20     FunctionalTestCase, FunctionalTestSetup, getRootFolder)
    2118from zope.catalog.interfaces import ICatalog
    22 from zope.component import queryUtility, getUtility
    23 from zope.component.hooks import setSite, clearSite
    24 from zope.interface.verify import verifyClass, verifyObject
    25 from hurry.query.interfaces import IQuery
    26 from hurry.query import Eq
     19from zope.component import queryUtility
     20from zope.component.hooks import setSite
    2721from waeup.sirp.app import University
    28 from waeup.sirp.interfaces import IQueryResultItem
    29 from waeup.sirp.testing import FunctionalLayer
     22from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    3023from waeup.sirp.students.student import Student
    31 #from waeup.sirp.students.workflow import INITIALIZED, USED, DISABLED
    32 from waeup.sirp.students.catalog import StudentQueryResultItem, search
    3324
    3425class CatalogTestSetup(FunctionalTestCase):
Note: See TracChangeset for help on using the changeset viewer.