Changeset 7811 for main/waeup.kofa/trunk/src/waeup/kofa/utils/tests
- Timestamp:
- 8 Mar 2012, 19:00:51 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/utils/tests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_batching.py
r7196 r7811 27 27 from zope.component.interfaces import IFactory 28 28 from zope.interface import Interface, implements 29 from waeup. sirp.app import University30 from waeup. sirp.testing import FunctionalLayer, FunctionalTestCase29 from waeup.kofa.app import University 30 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 31 31 32 32 optionflags = ( … … 71 71 stoneville = dict 72 72 73 from waeup. sirp.utils.batching import BatchProcessor73 from waeup.kofa.utils.batching import BatchProcessor 74 74 class CaveProcessor(BatchProcessor): 75 75 util_name = 'caveprocessor' -
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py
r7649 r7811 31 31 Interface, implements, invariant, Invalid, implementedBy) 32 32 33 from waeup. sirp.app import University34 from waeup. sirp.testing import FunctionalLayer, FunctionalTestCase35 from waeup. sirp.university import Faculty36 from waeup. sirp.utils.converters import IObjectConverter37 from waeup. sirp.utils.helpers import attrs_to_fields38 from waeup. sirp.interfaces import SimpleSIRPVocabulary39 40 colors = Simple SIRPVocabulary(33 from waeup.kofa.app import University 34 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 35 from waeup.kofa.university import Faculty 36 from waeup.kofa.utils.converters import IObjectConverter 37 from waeup.kofa.utils.helpers import attrs_to_fields 38 from waeup.kofa.interfaces import SimpleKOFAVocabulary 39 40 colors = SimpleKOFAVocabulary( 41 41 ('Red', u'red'), 42 42 ('Green', u'green'), 43 43 ('Blue', u'blue'), 44 44 ) 45 car_nums = Simple SIRPVocabulary(45 car_nums = SimpleKOFAVocabulary( 46 46 ('None', 0), 47 47 ('One', 1), -
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_doctests.py
r7196 r7811 18 18 """Register doctests from utils subpackage. 19 19 """ 20 from waeup. sirp.testing import get_doctest_suite20 from waeup.kofa.testing import get_doctest_suite 21 21 22 22 def test_suite(): -
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_helpers.py
r7196 r7811 27 27 from zope.security.testing import Principal, Participation 28 28 from zope.security.management import newInteraction, endInteraction 29 from waeup. sirp.utils import helpers29 from waeup.kofa.utils import helpers 30 30 31 31 from zope.interface import Interface, implements -
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_logger.py
r7651 r7811 17 17 ## 18 18 19 # Tests for waeup. sirp.utils.logger19 # Tests for waeup.kofa.utils.logger 20 20 import logging 21 21 import os … … 25 25 from zope.component.hooks import setSite, clearSite 26 26 from zope.interface.verify import verifyClass, verifyObject 27 from waeup. sirp.app import University28 from waeup. sirp.testing import FunctionalLayer, FunctionalTestCase29 30 from waeup. sirp.utils.logger import (27 from waeup.kofa.app import University 28 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 29 30 from waeup.kofa.utils.logger import ( 31 31 Logger, MAX_BYTES, BACKUP_COUNT, ILoggerCollector, LoggerCollector, 32 32 ILogger)
Note: See TracChangeset for help on using the changeset viewer.