Changeset 11940 for main/kofacustom.wdu/trunk/src/kofacustom
- Timestamp:
- 9 Nov 2014, 08:44:55 (10 years ago)
- Location:
- main/kofacustom.wdu/trunk/src/kofacustom/wdu
- Files:
-
- 36 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/applicant.py
r10765 r11940 22 22 from waeup.kofa.utils.helpers import attrs_to_fields 23 23 from kofacustom.nigeria.applicants.applicant import NigeriaApplicant 24 from kofacustom. skeleton.applicants.interfaces import(24 from kofacustom.wdu.applicants.interfaces import( 25 25 ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit) 26 26 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/batching.py
r11543 r11940 20 20 from waeup.kofa.utils.batching import BatchProcessor 21 21 from waeup.kofa.applicants.batching import ApplicantProcessor 22 from kofacustom. skeleton.applicants.interfaces import (22 from kofacustom.wdu.applicants.interfaces import ( 23 23 ICustomApplicant, ICustomApplicantUpdateByRegNo) 24 24 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/browser.py
r10765 r11940 25 25 NigeriaPDFApplicationSlip) 26 26 27 from kofacustom. skeleton.interfaces import MessageFactory as _27 from kofacustom.wdu.interfaces import MessageFactory as _ 28 28 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/export.py
r11543 r11940 23 23 from kofacustom.nigeria.applicants.interfaces import ( 24 24 INigeriaUGApplicant, INigeriaPGApplicant) 25 from kofacustom. skeleton.applicants.interfaces import (25 from kofacustom.wdu.applicants.interfaces import ( 26 26 ICustomUGApplicant, ICustomPGApplicant) 27 27 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/interfaces.py
r10765 r11940 37 37 IPUTMEApplicantEdit, 38 38 ) 39 from kofacustom. skeleton.interfaces import MessageFactory as _40 from kofacustom. skeleton.payments.interfaces import ICustomOnlinePayment39 from kofacustom.wdu.interfaces import MessageFactory as _ 40 from kofacustom.wdu.payments.interfaces import ICustomOnlinePayment 41 41 42 42 class ICustomUGApplicant(INigeriaUGApplicant): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/payment.py
r10765 r11940 24 24 from waeup.kofa.applicants.payment import ApplicantOnlinePayment 25 25 from waeup.kofa.utils.helpers import attrs_to_fields 26 from kofacustom. skeleton.applicants.interfaces import ICustomApplicantOnlinePayment26 from kofacustom.wdu.applicants.interfaces import ICustomApplicantOnlinePayment 27 27 28 28 class CustomApplicantOnlinePayment(ApplicantOnlinePayment): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/tests/test_applicant.py
r10765 r11940 30 30 from waeup.kofa.interfaces import IFileStoreHandler, IFileStoreNameChooser 31 31 from waeup.kofa.testing import FunctionalTestCase 32 from kofacustom. skeleton.applicants.applicant import (32 from kofacustom.wdu.applicants.applicant import ( 33 33 CustomApplicant, CustomApplicantFactory, 34 34 ) 35 from kofacustom. skeleton.applicants.interfaces import ICustomApplicant36 from kofacustom. skeleton.testing import FunctionalLayer35 from kofacustom.wdu.applicants.interfaces import ICustomApplicant 36 from kofacustom.wdu.testing import FunctionalLayer 37 37 38 38 class CustomApplicantTest(FunctionalTestCase): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/tests/test_browser.py
r11813 r11940 24 24 from zope.catalog.interfaces import ICatalog 25 25 from zope.intid.interfaces import IIntIds 26 from kofacustom. skeleton.testing import FunctionalLayer26 from kofacustom.wdu.testing import FunctionalLayer 27 27 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 28 28 from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup 29 from kofacustom. skeleton.applicants.export import CustomApplicantsExporter30 from kofacustom. skeleton.applicants.batching import CustomApplicantProcessor29 from kofacustom.wdu.applicants.export import CustomApplicantsExporter 30 from kofacustom.wdu.applicants.batching import CustomApplicantProcessor 31 31 32 32 class CustomApplicantUITests(ApplicantsFullSetup): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/utils.py
r10765 r11940 22 22 from waeup.kofa.applicants.workflow import (INITIALIZED, 23 23 STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED) 24 from kofacustom. skeleton.interfaces import MessageFactory as _24 from kofacustom.wdu.interfaces import MessageFactory as _ 25 25 26 26 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/browser/pages.py
r10765 r11940 21 21 LoginPage, CertificatePage, CertificateManageFormPage) 22 22 from waeup.kofa.university.interfaces import ICertificate 23 from kofacustom. skeleton.interfaces import (23 from kofacustom.wdu.interfaces import ( 24 24 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 25 25 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/browser/tests.py
r11711 r11940 22 22 from zope.security.interfaces import Unauthorized 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom. skeleton.testing import FunctionalLayer24 from kofacustom.wdu.testing import FunctionalLayer 25 25 from waeup.kofa.app import University 26 26 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/configuration.py
r10765 r11940 24 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 from kofacustom. skeleton.interfaces import (26 from kofacustom.wdu.interfaces import ( 27 27 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 28 28 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/configure.zcml
r10765 r11940 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:grok="http://namespaces.zope.org/grok"> 3 <include package="kofacustom. skeleton" file="locales.zcml" />3 <include package="kofacustom.wdu" file="locales.zcml" /> 4 4 5 5 <!-- kofacustom.nigeria configures everything we basically need. -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/ftesting.zcml
r10765 r11940 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 i18n_domain="kofacustom. skeleton"5 package="kofacustom. skeleton"4 i18n_domain="kofacustom.wdu" 5 package="kofacustom.wdu" 6 6 > 7 7 8 <include package="kofacustom. skeleton" />9 <include package="kofacustom. skeleton" file="mail.zcml"/>8 <include package="kofacustom.wdu" /> 9 <include package="kofacustom.wdu" file="mail.zcml"/> 10 10 11 11 <!-- Where should the datacenter reside by default? --> -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/interfaces.py
r10765 r11940 23 23 ISessionConfiguration, academic_sessions_vocab) 24 24 25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom. skeleton')25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.wdu') 26 26 27 27 # It's recommended to replicate all fields from the base package here. -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/interswitch/browser.py
r11647 r11940 23 23 InterswitchPageStudent, InterswitchPageApplicant, 24 24 ) 25 from kofacustom. skeleton.students.interfaces import ICustomStudentOnlinePayment26 from kofacustom. skeleton.applicants.interfaces import ICustomApplicantOnlinePayment27 from kofacustom. skeleton.interfaces import MessageFactory as _25 from kofacustom.wdu.students.interfaces import ICustomStudentOnlinePayment 26 from kofacustom.wdu.applicants.interfaces import ICustomApplicantOnlinePayment 27 from kofacustom.wdu.interfaces import MessageFactory as _ 28 28 29 29 PRODUCT_ID = '57' 30 SITE_NAME = ' skeleton-kofa.waeup.org'30 SITE_NAME = 'wdu-kofa.waeup.org' 31 31 PROVIDER_ACCT = '00000000' 32 32 PROVIDER_BANK_ID = '00' -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/interswitch/tests.py
r11813 r11940 24 24 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 25 25 from waeup.kofa.configuration import SessionConfiguration 26 from kofacustom. skeleton.testing import FunctionalLayer26 from kofacustom.wdu.testing import FunctionalLayer 27 27 28 28 # Also run tests that send requests to external servers? … … 152 152 self.assertTrue( 153 153 'zope.mgr - ' 154 'kofacustom. skeleton.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '154 'kofacustom.wdu.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - ' 155 155 'X1000000 - successful schoolfee payment: p3547789850240\n' 156 156 in logcontent) -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/payments/interfaces.py
r10765 r11940 19 19 from zope import schema 20 20 from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment 21 from kofacustom. skeleton.interfaces import MessageFactory as _21 from kofacustom.wdu.interfaces import MessageFactory as _ 22 22 23 23 class ICustomOnlinePayment(INigeriaOnlinePayment): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/batching.py
r10765 r11940 24 24 students, studycourses, payment tickets and accommodation tickets. 25 25 """ 26 from kofacustom. skeleton.students.interfaces import (26 from kofacustom.wdu.students.interfaces import ( 27 27 ICustomStudent, ICustomStudentUpdateByRegNo, 28 28 ICustomStudentUpdateByMatricNo, -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/browser.py
r10765 r11940 41 41 ) 42 42 43 from kofacustom. skeleton.students.interfaces import (43 from kofacustom.wdu.students.interfaces import ( 44 44 ICustomStudentOnlinePayment, ICustomStudentStudyCourse, 45 45 ICustomStudentStudyLevel) 46 from kofacustom. skeleton.interfaces import MessageFactory as _46 from kofacustom.wdu.interfaces import MessageFactory as _ 47 47 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/export.py
r11545 r11940 18 18 """Exporters for student related stuff. 19 19 """ 20 from kofacustom. skeleton.students.interfaces import (20 from kofacustom.wdu.students.interfaces import ( 21 21 ICustomStudent, 22 22 ICustomStudentStudyCourse, -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/interfaces.py
r10765 r11940 24 24 INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo, 25 25 ) 26 from kofacustom. skeleton.payments.interfaces import ICustomOnlinePayment27 from kofacustom. skeleton.interfaces import MessageFactory as _26 from kofacustom.wdu.payments.interfaces import ICustomOnlinePayment 27 from kofacustom.wdu.interfaces import MessageFactory as _ 28 28 29 29 class ICustomStudentBase(INigeriaStudentBase): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/payments.py
r10765 r11940 26 26 StudentOnlinePayment, StudentOnlinePaymentFactory) 27 27 from waeup.kofa.utils.helpers import attrs_to_fields 28 from kofacustom. skeleton.students.interfaces import ICustomStudentOnlinePayment28 from kofacustom.wdu.students.interfaces import ICustomStudentOnlinePayment 29 29 30 30 class CustomStudentOnlinePayment(StudentOnlinePayment): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/student.py
r10765 r11940 26 26 from waeup.kofa.utils.helpers import get_current_principal 27 27 from kofacustom.nigeria.students.student import NigeriaStudent 28 from kofacustom. skeleton.students.interfaces import ICustomStudent28 from kofacustom.wdu.students.interfaces import ICustomStudent 29 29 30 30 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/studycourse.py
r10765 r11940 27 27 from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID 28 28 from kofacustom.nigeria.students.studycourse import NigeriaStudentStudyCourse 29 from kofacustom. skeleton.students.interfaces import ICustomStudentStudyCourse29 from kofacustom.wdu.students.interfaces import ICustomStudentStudyCourse 30 30 31 31 class CustomStudentStudyCourse(NigeriaStudentStudyCourse): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/studylevel.py
r10765 r11940 28 28 CourseTicketFactory, StudentStudyLevelFactory) 29 29 from waeup.kofa.students.interfaces import IStudentNavigation 30 from kofacustom. skeleton.students.interfaces import (30 from kofacustom.wdu.students.interfaces import ( 31 31 ICustomStudentStudyLevel, ICustomCourseTicket) 32 32 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/tests/test_browser.py
r10765 r11940 34 34 IExtFileStore, IFileStoreNameChooser) 35 35 from waeup.kofa.students.interfaces import IStudentsUtils 36 from kofacustom. skeleton.testing import FunctionalLayer36 from kofacustom.wdu.testing import FunctionalLayer 37 37 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/tests/test_export.py
r11813 r11940 5 5 from waeup.kofa.schoolgrades import ResultEntry 6 6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup 7 from kofacustom. skeleton.utils.utils import CustomKofaUtils8 from kofacustom. skeleton.students.export import (7 from kofacustom.wdu.utils.utils import CustomKofaUtils 8 from kofacustom.wdu.students.export import ( 9 9 CustomStudentsExporter, CustomStudentPaymentsExporter) 10 from kofacustom. skeleton.testing import FunctionalLayer10 from kofacustom.wdu.testing import FunctionalLayer 11 11 12 12 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/tests/test_student.py
r10765 r11940 22 22 from zope.interface import verify 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom. skeleton.students.student import CustomStudent, CustomStudentFactory25 from kofacustom. skeleton.students.studycourse import (24 from kofacustom.wdu.students.student import CustomStudent, CustomStudentFactory 25 from kofacustom.wdu.students.studycourse import ( 26 26 CustomStudentStudyCourse, CustomStudentStudyCourseFactory) 27 from kofacustom. skeleton.students.studylevel import (27 from kofacustom.wdu.students.studylevel import ( 28 28 CustomStudentStudyLevel, CustomCourseTicket, 29 29 CustomStudentStudyLevelFactory, 30 30 CustomCourseTicketFactory) 31 from kofacustom. skeleton.students.interfaces import (31 from kofacustom.wdu.students.interfaces import ( 32 32 ICustomStudent, ICustomStudentStudyCourse, 33 33 ICustomStudentStudyLevel, ICustomCourseTicket) 34 from kofacustom. skeleton.testing import FunctionalLayer34 from kofacustom.wdu.testing import FunctionalLayer 35 35 36 36 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/utils.py
r10765 r11940 21 21 CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 22 22 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 23 from kofacustom. skeleton.interfaces import MessageFactory as _23 from kofacustom.wdu.interfaces import MessageFactory as _ 24 24 25 25 class CustomStudentsUtils(NigeriaStudentsUtils): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/viewlets.py
r10765 r11940 20 20 from waeup.kofa.interfaces import REQUESTED 21 21 from waeup.kofa.browser.viewlets import ManageActionButton 22 from kofacustom. skeleton.students.interfaces import (22 from kofacustom.wdu.students.interfaces import ( 23 23 ICustomStudentStudyCourse, ICustomStudentStudyLevel) 24 24 from waeup.kofa.students.viewlets import ( -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/testing.py
r10765 r11940 19 19 """ 20 20 import os.path 21 import kofacustom. skeleton21 import kofacustom.wdu 22 22 from zope.app.testing.functional import ZCMLLayer 23 23 24 24 ftesting_zcml = os.path.join( 25 os.path.dirname(kofacustom. skeleton.__file__), 'ftesting.zcml')25 os.path.dirname(kofacustom.wdu.__file__), 'ftesting.zcml') 26 26 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 27 27 allow_teardown=True) -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/tests/test_configuration.py
r10765 r11940 25 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 from kofacustom. skeleton.configuration import (27 from kofacustom.wdu.configuration import ( 28 28 CustomSessionConfiguration, CustomSessionConfigurationFactory) 29 from kofacustom. skeleton.interfaces import(29 from kofacustom.wdu.interfaces import( 30 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 31 from kofacustom. skeleton.testing import FunctionalLayer31 from kofacustom.wdu.testing import FunctionalLayer 32 32 33 33 class ConfigurationTest(ConfigurationTest): -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/tests/test_datacenter.py
r10765 r11940 18 18 from waeup.kofa.datacenter import DataCenter 19 19 from waeup.kofa.testing import FunctionalTestCase 20 from kofacustom. skeleton.testing import FunctionalLayer20 from kofacustom.wdu.testing import FunctionalLayer 21 21 22 22 -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/tests/test_smtp.py
r10765 r11940 33 33 send_mail) 34 34 from waeup.kofa.testing import FunctionalTestCase 35 from kofacustom. skeleton.testing import FunctionalLayer35 from kofacustom.wdu.testing import FunctionalLayer 36 36 37 37 # -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/utils/tests.py
r10765 r11940 17 17 ## 18 18 from waeup.kofa.testing import FunctionalTestCase 19 from kofacustom. skeleton.testing import FunctionalLayer19 from kofacustom.wdu.testing import FunctionalLayer 20 20 21 21
Note: See TracChangeset for help on using the changeset viewer.