Changeset 7811 for main/waeup.kofa/trunk/src/waeup/kofa/university/tests
- Timestamp:
- 8 Mar 2012, 19:00:51 (13 years ago)
- 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 21 21 22 22 from zope.interface.verify import verifyClass, verifyObject 23 from waeup. sirp.interfaces import IBatchProcessor24 from waeup. sirp.testing import FunctionalTestCase, FunctionalLayer25 from waeup. sirp.university.batching import (23 from waeup.kofa.interfaces import IBatchProcessor 24 from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer 25 from waeup.kofa.university.batching import ( 26 26 FacultyProcessor, DepartmentProcessor, CourseProcessor, 27 27 CertificateProcessor, CertificateCourseProcessor) 28 from waeup. sirp.university.certificate import Certificate, CertificateCourse29 from waeup. sirp.university.course import Course30 from waeup. sirp.university.department import Department28 from waeup.kofa.university.certificate import Certificate, CertificateCourse 29 from waeup.kofa.university.course import Course 30 from waeup.kofa.university.department import Department 31 31 32 32 -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_certificatescontainer.py
r7333 r7811 25 25 from zope.interface.verify import verifyClass, verifyObject 26 26 27 from waeup. sirp.app import University28 from waeup. sirp.interfaces import DuplicationError29 from waeup. sirp.testing import (27 from waeup.kofa.app import University 28 from waeup.kofa.interfaces import DuplicationError 29 from waeup.kofa.testing import ( 30 30 FunctionalLayer, doctestsuite_for_module, FunctionalTestCase) 31 from waeup. sirp.university.certificate import Certificate32 from waeup. sirp.university.certificatescontainer import CertificatesContainer33 from waeup. sirp.university.interfaces import ICertificatesContainer31 from waeup.kofa.university.certificate import Certificate 32 from waeup.kofa.university.certificatescontainer import CertificatesContainer 33 from waeup.kofa.university.interfaces import ICertificatesContainer 34 34 35 35 … … 132 132 unittest.makeSuite(CertificatesContainerTests), 133 133 doctestsuite_for_module( 134 'waeup. sirp.university.certificatescontainer'),134 'waeup.kofa.university.certificatescontainer'), 135 135 )) 136 136 return suite -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_coursescontainer.py
r7333 r7811 21 21 import unittest 22 22 from zope.interface.verify import verifyClass, verifyObject 23 from waeup. sirp.university.interfaces import ICoursesContainer24 from waeup. sirp.university import CoursesContainer, Course23 from waeup.kofa.university.interfaces import ICoursesContainer 24 from waeup.kofa.university import CoursesContainer, Course 25 25 26 26 class CoursesContainerTests(unittest.TestCase): -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py
r7757 r7811 22 22 from zope.component import queryUtility 23 23 from zope.interface.verify import verifyObject, verifyClass 24 from waeup. sirp.interfaces import ICSVExporter25 from waeup. sirp.testing import SIRPUnitTestLayer26 from waeup. sirp.university import (24 from waeup.kofa.interfaces import ICSVExporter 25 from waeup.kofa.testing import KOFAUnitTestLayer 26 from waeup.kofa.university import ( 27 27 FacultiesContainer, Faculty, Department, Course, Certificate, 28 28 ) 29 from waeup. sirp.university.export import (29 from waeup.kofa.university.export import ( 30 30 FacultyExporter, DepartmentExporter, CourseExporter, 31 31 CertificateExporter, CertificateCourseExporter, … … 34 34 class FacultyExporterTest(unittest.TestCase): 35 35 36 layer = SIRPUnitTestLayer36 layer = KOFAUnitTestLayer 37 37 38 38 def setUp(self): … … 123 123 # Tests for DepartmentExporter 124 124 125 layer = SIRPUnitTestLayer125 layer = KOFAUnitTestLayer 126 126 127 127 def setUp(self): … … 214 214 # Tests for CourseExporter 215 215 216 layer = SIRPUnitTestLayer216 layer = KOFAUnitTestLayer 217 217 218 218 def setUp(self): … … 307 307 # Tests for CertificateExporter 308 308 309 layer = SIRPUnitTestLayer309 layer = KOFAUnitTestLayer 310 310 311 311 def setUp(self): … … 412 412 # Tests for CertificateCourseExporter 413 413 414 layer = SIRPUnitTestLayer414 layer = KOFAUnitTestLayer 415 415 416 416 def setUp(self): -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_facultiescontainer.py
r7333 r7811 22 22 from StringIO import StringIO 23 23 from zope.interface.verify import verifyObject, verifyClass 24 from waeup. sirp.testing import FunctionalTestCase, FunctionalLayer25 from waeup. sirp.university.interfaces import IFacultiesContainer26 from waeup. sirp.university import FacultiesContainer27 from waeup. sirp.university.facultiescontainer import AcademicsPlugin24 from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer 25 from waeup.kofa.university.interfaces import IFacultiesContainer 26 from waeup.kofa.university import FacultiesContainer 27 from waeup.kofa.university.facultiescontainer import AcademicsPlugin 28 28 29 29 class FakeLogger(object): … … 90 90 self.assertEqual( 91 91 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' 93 93 ) 94 94 -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_faculty.py
r7681 r7811 22 22 import unittest 23 23 from zope.interface.verify import verifyObject, verifyClass 24 from waeup. sirp.university import Faculty, Department25 from waeup. sirp.university.interfaces import IFaculty, IDepartment24 from waeup.kofa.university import Faculty, Department 25 from waeup.kofa.university.interfaces import IFaculty, IDepartment 26 26 27 27 class FacultyAndDepartmentTests(unittest.TestCase): -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_university.py
r7333 r7811 19 19 # Test the public API part of the university subpackage 20 20 import unittest 21 from waeup. sirp.university import *22 from waeup. sirp.testing import get_doctest_suite21 from waeup.kofa.university import * 22 from waeup.kofa.testing import get_doctest_suite 23 23 24 24 class UniversitySubpackageTests(unittest.TestCase):
Note: See TracChangeset for help on using the changeset viewer.