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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_authentication.py

    r7364 r7811  
    2626from zope.securitypolicy.role import Role
    2727from zope.securitypolicy.interfaces import IRole, Allow
    28 from waeup.sirp.authentication import get_principal_role_manager
    29 from waeup.sirp.interfaces import IAuthPluginUtility, IUserAccount
    30 from waeup.sirp.students.authentication import (
     28from waeup.kofa.authentication import get_principal_role_manager
     29from waeup.kofa.interfaces import IAuthPluginUtility, IUserAccount
     30from waeup.kofa.students.authentication import (
    3131    StudentsAuthenticatorSetup, StudentAccount)
    32 from waeup.sirp.students.tests.test_browser import StudentsFullSetup
    33 from waeup.sirp.testing import FunctionalLayer
     32from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     33from waeup.kofa.testing import FunctionalLayer
    3434
    3535class StudentsAuthenticatorSetupTests(unittest.TestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r7665 r7811  
    2828from zope.interface.verify import verifyClass, verifyObject
    2929
    30 from waeup.sirp.app import University
    31 from waeup.sirp.university.faculty import Faculty
    32 from waeup.sirp.university.department import Department
    33 from waeup.sirp.students.batching import (
     30from waeup.kofa.app import University
     31from waeup.kofa.university.faculty import Faculty
     32from waeup.kofa.university.department import Department
     33from waeup.kofa.students.batching import (
    3434    StudentProcessor, StudentStudyCourseProcessor,
    3535    StudentStudyLevelProcessor, CourseTicketProcessor,
    3636    StudentOnlinePaymentProcessor)
    37 from waeup.sirp.students.student import Student
    38 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    39 from waeup.sirp.interfaces import IBatchProcessor
     37from waeup.kofa.students.student import Student
     38from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     39from waeup.kofa.interfaces import IBatchProcessor
    4040
    4141STUDENT_SAMPLE_DATA = open(
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r7723 r7811  
    3333from zope.testbrowser.testing import Browser
    3434from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    35 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    36 from waeup.sirp.app import University
    37 from waeup.sirp.configuration import SessionConfiguration
    38 from waeup.sirp.students.student import Student
    39 from waeup.sirp.students.studylevel import StudentStudyLevel
    40 from waeup.sirp.university.faculty import Faculty
    41 from waeup.sirp.university.department import Department
    42 from waeup.sirp.interfaces import IUserAccount
    43 from waeup.sirp.authentication import LocalRoleSetEvent
    44 from waeup.sirp.hostels.hostel import Hostel, Bed, NOT_OCCUPIED
     35from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     36from waeup.kofa.app import University
     37from waeup.kofa.configuration import SessionConfiguration
     38from waeup.kofa.students.student import Student
     39from waeup.kofa.students.studylevel import StudentStudyLevel
     40from waeup.kofa.university.faculty import Faculty
     41from waeup.kofa.university.department import Department
     42from waeup.kofa.interfaces import IUserAccount
     43from waeup.kofa.authentication import LocalRoleSetEvent
     44from waeup.kofa.hostels.hostel import Hostel, Bed, NOT_OCCUPIED
    4545
    4646PH_LEN = 2059  # Length of placeholder file
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_catalog.py

    r7640 r7811  
    2323from zope.component import queryUtility, createObject
    2424from zope.component.hooks import setSite
    25 from waeup.sirp.app import University
    26 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    27 from waeup.sirp.students.student import Student
    28 from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket
    29 from waeup.sirp.university.faculty import Faculty
    30 from waeup.sirp.university.department import Department
     25from waeup.kofa.app import University
     26from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     27from waeup.kofa.students.student import Student
     28from waeup.kofa.students.studylevel import StudentStudyLevel, CourseTicket
     29from waeup.kofa.university.faculty import Faculty
     30from waeup.kofa.university.department import Department
    3131
    3232class CatalogTestSetup(FunctionalTestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_container.py

    r7256 r7811  
    2323from zope.interface.verify import verifyClass, verifyObject
    2424from zope.component.hooks import setSite, clearSite
    25 from waeup.sirp.app import University
    26 from waeup.sirp.university.department import Department
    27 from waeup.sirp.students.interfaces import (
     25from waeup.kofa.app import University
     26from waeup.kofa.university.department import Department
     27from waeup.kofa.students.interfaces import (
    2828    IStudentsContainer,
    2929    )
    30 from waeup.sirp.students.container import (
     30from waeup.kofa.students.container import (
    3131    StudentsContainer,
    3232    )
    33 from waeup.sirp.testing import (
     33from waeup.kofa.testing import (
    3434    FunctionalLayer, FunctionalTestCase, remove_logger)
    3535
     
    3939
    4040    def setUp(self):
    41         remove_logger('waeup.sirp.app.students')
     41        remove_logger('waeup.kofa.app.students')
    4242        super(StudentsContainerTestCase, self).setUp()
    4343        # Setup a sample site for each test
     
    8686        logger = self.app['students'].logger
    8787        assert logger is not None
    88         assert logger.name == 'waeup.sirp.app.students'
     88        assert logger.name == 'waeup.kofa.app.students'
    8989        handlers = logger.handlers
    9090        assert len(handlers) == 1
     
    100100        logger = self.app['students'].logger
    101101        assert logger is not None
    102         assert logger.name == 'waeup.sirp.app.students'
     102        assert logger.name == 'waeup.kofa.app.students'
    103103        handlers = logger.handlers
    104104        assert len(handlers) == 1
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_dynamicroles.py

    r7257 r7811  
    2424from zope.securitypolicy.tests.test_annotationprincipalrolemanager import (
    2525    Test as APRMTest, Manageable)
    26 from waeup.sirp.testing import FunctionalLayer
    27 from waeup.sirp.students.tests.test_browser import StudentsFullSetup
    28 from waeup.sirp.students import Student, StudentPrincipalRoleManager
     26from waeup.kofa.testing import FunctionalLayer
     27from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     28from waeup.kofa.students import Student, StudentPrincipalRoleManager
    2929
    3030class StudentPrincipalRoleManagerTests(APRMTest):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_payment.py

    r7193 r7811  
    2020"""
    2121
    22 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    23 from waeup.sirp.students.payments import (
     22from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     23from waeup.kofa.students.payments import (
    2424    StudentOnlinePayment, StudentOnlinePaymentFactory)
    25 from waeup.sirp.payments.interfaces import IOnlinePayment
    26 from waeup.sirp.students.interfaces import IStudentNavigation
     25from waeup.kofa.payments.interfaces import IOnlinePayment
     26from waeup.kofa.students.interfaces import IStudentNavigation
    2727
    2828class StudentOnlinePaymentFactoryTest(FunctionalTestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_student.py

    r7364 r7811  
    2020from zope.component.interfaces import IFactory
    2121from zope.interface import verify
    22 from waeup.sirp.students.student import Student, StudentFactory
    23 from waeup.sirp.students.studycourse import StudentStudyCourse
    24 from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket
    25 from waeup.sirp.students.payments import StudentPaymentsContainer
    26 from waeup.sirp.students.accommodation import StudentAccommodation, BedTicket
    27 from waeup.sirp.applicants.interfaces import IApplicantBaseData
    28 from waeup.sirp.students.interfaces import (
     22from waeup.kofa.students.student import Student, StudentFactory
     23from waeup.kofa.students.studycourse import StudentStudyCourse
     24from waeup.kofa.students.studylevel import StudentStudyLevel, CourseTicket
     25from waeup.kofa.students.payments import StudentPaymentsContainer
     26from waeup.kofa.students.accommodation import StudentAccommodation, BedTicket
     27from waeup.kofa.applicants.interfaces import IApplicantBaseData
     28from waeup.kofa.students.interfaces import (
    2929    IStudent, IStudentStudyCourse, IStudentPaymentsContainer, IStudentAccommodation,
    3030    IStudentStudyLevel, ICourseTicket, IBedTicket)
    31 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    32 from waeup.sirp.university.department import Department
     31from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase
     32from waeup.kofa.university.department import Department
    3333
    3434class StudentTest(FunctionalTestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_utils.py

    r7510 r7811  
    11# -*- coding: utf-8 -*-
    22import unittest
    3 from waeup.sirp.students.utils import formatted_text
     3from waeup.kofa.students.utils import formatted_text
    44
    55class FormatterTests(unittest.TestCase):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_vocabularies.py

    r7691 r7811  
    1717##
    1818import unittest
    19 from waeup.sirp.students.vocabularies import StudyLevelSource
    20 from waeup.sirp.university.certificate import Certificate
     19from waeup.kofa.students.vocabularies import StudyLevelSource
     20from waeup.kofa.university.certificate import Certificate
    2121
    2222
Note: See TracChangeset for help on using the changeset viewer.