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/university/tests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_batching.py

    r7195 r7811  
    2121
    2222from zope.interface.verify import verifyClass, verifyObject
    23 from waeup.sirp.interfaces import IBatchProcessor
    24 from waeup.sirp.testing import FunctionalTestCase, FunctionalLayer
    25 from waeup.sirp.university.batching import (
     23from waeup.kofa.interfaces import IBatchProcessor
     24from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer
     25from waeup.kofa.university.batching import (
    2626    FacultyProcessor, DepartmentProcessor, CourseProcessor,
    2727    CertificateProcessor, CertificateCourseProcessor)
    28 from waeup.sirp.university.certificate import Certificate, CertificateCourse
    29 from waeup.sirp.university.course import Course
    30 from waeup.sirp.university.department import Department
     28from waeup.kofa.university.certificate import Certificate, CertificateCourse
     29from waeup.kofa.university.course import Course
     30from waeup.kofa.university.department import Department
    3131
    3232
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_certificatescontainer.py

    r7333 r7811  
    2525from zope.interface.verify import verifyClass, verifyObject
    2626
    27 from waeup.sirp.app import University
    28 from waeup.sirp.interfaces import DuplicationError
    29 from waeup.sirp.testing import (
     27from waeup.kofa.app import University
     28from waeup.kofa.interfaces import DuplicationError
     29from waeup.kofa.testing import (
    3030    FunctionalLayer, doctestsuite_for_module, FunctionalTestCase)
    31 from waeup.sirp.university.certificate import Certificate
    32 from waeup.sirp.university.certificatescontainer import CertificatesContainer
    33 from waeup.sirp.university.interfaces import ICertificatesContainer
     31from waeup.kofa.university.certificate import Certificate
     32from waeup.kofa.university.certificatescontainer import CertificatesContainer
     33from waeup.kofa.university.interfaces import ICertificatesContainer
    3434
    3535
     
    132132        unittest.makeSuite(CertificatesContainerTests),
    133133        doctestsuite_for_module(
    134                 'waeup.sirp.university.certificatescontainer'),
     134                'waeup.kofa.university.certificatescontainer'),
    135135        ))
    136136    return suite
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_coursescontainer.py

    r7333 r7811  
    2121import unittest
    2222from zope.interface.verify import verifyClass, verifyObject
    23 from waeup.sirp.university.interfaces import ICoursesContainer
    24 from waeup.sirp.university import CoursesContainer, Course
     23from waeup.kofa.university.interfaces import ICoursesContainer
     24from waeup.kofa.university import CoursesContainer, Course
    2525
    2626class CoursesContainerTests(unittest.TestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py

    r7757 r7811  
    2222from zope.component import queryUtility
    2323from zope.interface.verify import verifyObject, verifyClass
    24 from waeup.sirp.interfaces import ICSVExporter
    25 from waeup.sirp.testing import SIRPUnitTestLayer
    26 from waeup.sirp.university import (
     24from waeup.kofa.interfaces import ICSVExporter
     25from waeup.kofa.testing import KOFAUnitTestLayer
     26from waeup.kofa.university import (
    2727    FacultiesContainer, Faculty, Department, Course, Certificate,
    2828    )
    29 from waeup.sirp.university.export import (
     29from waeup.kofa.university.export import (
    3030    FacultyExporter, DepartmentExporter, CourseExporter,
    3131    CertificateExporter, CertificateCourseExporter,
     
    3434class FacultyExporterTest(unittest.TestCase):
    3535
    36     layer = SIRPUnitTestLayer
     36    layer = KOFAUnitTestLayer
    3737
    3838    def setUp(self):
     
    123123    # Tests for DepartmentExporter
    124124
    125     layer = SIRPUnitTestLayer
     125    layer = KOFAUnitTestLayer
    126126
    127127    def setUp(self):
     
    214214    # Tests for CourseExporter
    215215
    216     layer = SIRPUnitTestLayer
     216    layer = KOFAUnitTestLayer
    217217
    218218    def setUp(self):
     
    307307    # Tests for CertificateExporter
    308308
    309     layer = SIRPUnitTestLayer
     309    layer = KOFAUnitTestLayer
    310310
    311311    def setUp(self):
     
    412412    # Tests for CertificateCourseExporter
    413413
    414     layer = SIRPUnitTestLayer
     414    layer = KOFAUnitTestLayer
    415415
    416416    def setUp(self):
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_facultiescontainer.py

    r7333 r7811  
    2222from StringIO import StringIO
    2323from zope.interface.verify import verifyObject, verifyClass
    24 from waeup.sirp.testing import FunctionalTestCase, FunctionalLayer
    25 from waeup.sirp.university.interfaces import IFacultiesContainer
    26 from waeup.sirp.university import FacultiesContainer
    27 from waeup.sirp.university.facultiescontainer import AcademicsPlugin
     24from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer
     25from waeup.kofa.university.interfaces import IFacultiesContainer
     26from waeup.kofa.university import FacultiesContainer
     27from waeup.kofa.university.facultiescontainer import AcademicsPlugin
    2828
    2929class FakeLogger(object):
     
    9090        self.assertEqual(
    9191            self._logger_factory.get_messages(),
    92             'Could not create container for faculties in SIRP.\n'
     92            'Could not create container for faculties in KOFA.\n'
    9393            )
    9494
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_faculty.py

    r7681 r7811  
    2222import unittest
    2323from zope.interface.verify import verifyObject, verifyClass
    24 from waeup.sirp.university import Faculty, Department
    25 from waeup.sirp.university.interfaces import IFaculty, IDepartment
     24from waeup.kofa.university import Faculty, Department
     25from waeup.kofa.university.interfaces import IFaculty, IDepartment
    2626
    2727class FacultyAndDepartmentTests(unittest.TestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_university.py

    r7333 r7811  
    1919# Test the public API part of the university subpackage
    2020import unittest
    21 from waeup.sirp.university import *
    22 from waeup.sirp.testing import get_doctest_suite
     21from waeup.kofa.university import *
     22from waeup.kofa.testing import get_doctest_suite
    2323
    2424class UniversitySubpackageTests(unittest.TestCase):
Note: See TracChangeset for help on using the changeset viewer.