Changeset 6632 for main/waeup.sirp/trunk


Ignore:
Timestamp:
26 Aug 2011, 08:40:54 (13 years ago)
Author:
Henrik Bettermann
Message:

Rename applicants.py, accesscodes.py and students.py modules. Their names should be singular like in the university package.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
9 edited
7 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/__init__.py

    r6515 r6632  
    44
    55Main content components are defined in
    6 :mod:`waeup.sirp.accesscodes.accesscodes`. This subpackage also
     6:mod:`waeup.sirp.accesscodes.accesscode`. This subpackage also
    77provides a _catalog_ to lookup any access code quickly and a
    88_workflow_ to guarantee consistent states and transitions when dealing
     
    1616:mod:`waeup.sirp.accesscodes.interfaces`.
    1717"""
    18 from waeup.sirp.accesscodes.accesscodes import (
     18from waeup.sirp.accesscodes.accesscode import (
    1919    get_access_code, invalidate_accesscode, disable_accesscode,
    2020    reenable_accesscode, AccessCode, AccessCodeBatch, AccessCodeBatchContainer)
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscode.txt

    r6628 r6632  
    1 :mod:`waeup.sirp.accesscodes.accesscodes` -- access codes (aka PINs)
    2 ********************************************************************
    3 
    4 .. module:: waeup.sirp.accesscodes.accesscodes
     1:mod:`waeup.sirp.accesscodes.accesscode` -- access codes (aka PINs)
     2*******************************************************************
     3
     4.. module:: waeup.sirp.accesscodes.accesscode
    55
    66Components that represent access codes and related.
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscode.py

    r6628 r6632  
    11##
    2 ## test_accesscodes.py
     2## test_accesscode.py
    33## Login : <uli@pu.smp.net>
    44## Started on  Sun Jun 12 13:07:58 2011 Uli Fouquet
     
    3737from waeup.sirp.interfaces import IObjectHistory, IWAeUPSIRPPluggable
    3838from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    39 from waeup.sirp.accesscodes.accesscodes import (
     39from waeup.sirp.accesscodes.accesscode import (
    4040    AccessCodeBatch, get_access_code, invalidate_accesscode, AccessCode,
    4141    disable_accesscode, reenable_accesscode, fire_transition,
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_catalog.py

    r6550 r6632  
    3232from waeup.sirp.interfaces import IQueryResultItem
    3333from waeup.sirp.testing import FunctionalLayer
    34 from waeup.sirp.accesscodes.accesscodes import (
     34from waeup.sirp.accesscodes.accesscode import (
    3535    AccessCode, AccessCodeBatch, invalidate_accesscode, disable_accesscode)
    3636from waeup.sirp.accesscodes.workflow import INITIALIZED, USED, DISABLED
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/__init__.py

    r6500 r6632  
    22"""
    33# Make this a package.
    4 from waeup.sirp.applicants.applicants import (
     4from waeup.sirp.applicants.applicant import (
    55    ResultEntry, Applicant, ApplicantFactory, ApplicantTraverser,
    66    )
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_applicant.py

    r6628 r6632  
    11##
    2 ## test_applicants.py
     2## test_applicant.py
    33## Login : <uli@pu.smp.net>
    44## Started on  Tue Aug 24 04:36:11 2010 Uli Fouquet
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py

    r6611 r6632  
    3636from waeup.sirp.app import University
    3737from waeup.sirp.applicants.container import ApplicantsContainer
    38 from waeup.sirp.applicants.applicants import Applicant
     38from waeup.sirp.applicants.applicant import Applicant
    3939from waeup.sirp.university.faculty import Faculty
    4040from waeup.sirp.university.department import Department
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_catalog.py

    r6118 r6632  
    3636from waeup.sirp.app import University
    3737from waeup.sirp.applicants.container import ApplicantsContainer
    38 from waeup.sirp.applicants.applicants import Applicant
     38from waeup.sirp.applicants.applicant import Applicant
    3939from waeup.sirp.testing import FunctionalLayer
    4040
  • main/waeup.sirp/trunk/src/waeup/sirp/students/__init__.py

    r6621 r6632  
    22"""
    33# Make this a package.
    4 from waeup.sirp.students.students import (
     4from waeup.sirp.students.student import (
    55    Student, StudentFactory
    66    )
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r6631 r6632  
    6666    IStudentPersonal, IStudentBase
    6767    )
    68 from waeup.sirp.students.students import (
     68from waeup.sirp.students.student import (
    6969    Student,
    7070    )
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6631 r6632  
    3636from waeup.sirp.app import University
    3737from waeup.sirp.students.container import StudentsContainer
    38 from waeup.sirp.students.students import Student
     38from waeup.sirp.students.student import Student
    3939from waeup.sirp.university.faculty import Faculty
    4040from waeup.sirp.university.department import Department
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_catalog.py

    r6626 r6632  
    2828from waeup.sirp.interfaces import IQueryResultItem
    2929from waeup.sirp.testing import FunctionalLayer
    30 from waeup.sirp.students.students import Student
     30from waeup.sirp.students.student import Student
    3131#from waeup.sirp.students.workflow import INITIALIZED, USED, DISABLED
    3232from waeup.sirp.students.catalog import StudentQueryResultItem, search
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_student.py

    r6628 r6632  
    2727from zope.publisher.base import TestRequest
    2828from zope.publisher.interfaces import NotFound
    29 from waeup.sirp.students.students import (
     29from waeup.sirp.students.student import (
    3030    Student, StudentFactory,
    3131    )
Note: See TracChangeset for help on using the changeset viewer.