Ignore:
Timestamp:
8 Mar 2012, 19:00:51 (13 years ago)
Author:
uli
Message:

Rename all non-locales stuff from sirp to kofa.

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  
    2727from zope.component.interfaces import IFactory
    2828from zope.interface import Interface, implements
    29 from waeup.sirp.app import University
    30 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
     29from waeup.kofa.app import University
     30from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
    3131
    3232optionflags = (
     
    7171stoneville = dict
    7272
    73 from waeup.sirp.utils.batching import BatchProcessor
     73from waeup.kofa.utils.batching import BatchProcessor
    7474class CaveProcessor(BatchProcessor):
    7575    util_name = 'caveprocessor'
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py

    r7649 r7811  
    3131    Interface, implements, invariant, Invalid, implementedBy)
    3232
    33 from waeup.sirp.app import University
    34 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    35 from waeup.sirp.university import Faculty
    36 from waeup.sirp.utils.converters import IObjectConverter
    37 from waeup.sirp.utils.helpers import attrs_to_fields
    38 from waeup.sirp.interfaces import SimpleSIRPVocabulary
    39 
    40 colors = SimpleSIRPVocabulary(
     33from waeup.kofa.app import University
     34from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     35from waeup.kofa.university import Faculty
     36from waeup.kofa.utils.converters import IObjectConverter
     37from waeup.kofa.utils.helpers import attrs_to_fields
     38from waeup.kofa.interfaces import SimpleKOFAVocabulary
     39
     40colors = SimpleKOFAVocabulary(
    4141    ('Red', u'red'),
    4242    ('Green', u'green'),
    4343    ('Blue', u'blue'),
    4444    )
    45 car_nums = SimpleSIRPVocabulary(
     45car_nums = SimpleKOFAVocabulary(
    4646    ('None', 0),
    4747    ('One', 1),
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_doctests.py

    r7196 r7811  
    1818"""Register doctests from utils subpackage.
    1919"""
    20 from waeup.sirp.testing import get_doctest_suite
     20from waeup.kofa.testing import get_doctest_suite
    2121
    2222def test_suite():
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_helpers.py

    r7196 r7811  
    2727from zope.security.testing import Principal, Participation
    2828from zope.security.management import newInteraction, endInteraction
    29 from waeup.sirp.utils import helpers
     29from waeup.kofa.utils import helpers
    3030
    3131from zope.interface import Interface, implements
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_logger.py

    r7651 r7811  
    1717##
    1818
    19 # Tests for waeup.sirp.utils.logger
     19# Tests for waeup.kofa.utils.logger
    2020import logging
    2121import os
     
    2525from zope.component.hooks import setSite, clearSite
    2626from zope.interface.verify import verifyClass, verifyObject
    27 from waeup.sirp.app import University
    28 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    29 
    30 from waeup.sirp.utils.logger import (
     27from waeup.kofa.app import University
     28from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     29
     30from waeup.kofa.utils.logger import (
    3131    Logger, MAX_BYTES, BACKUP_COUNT, ILoggerCollector, LoggerCollector,
    3232    ILogger)
Note: See TracChangeset for help on using the changeset viewer.