Ignore:
Timestamp:
13 Nov 2014, 13:21:59 (10 years ago)
Author:
Henrik Bettermann
Message:

Enucleation. Keep only the portal's framework. Remove university, students, applicants, hostels and accesscodes modules.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/kofa/browser/tests
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/kofa/browser/tests/test_permissions.py

    r8920 r11947  
    3838manager_pages = [
    3939    # The pages that should only be accessible by manager...
    40     '/@@manage', '/@@administration', '/faculties/@@search',
     40    '/@@manage', '/@@administration',
    4141    '/users/@@index', '/users/@@add', '/users/alice/@@manage',
    4242    '/datacenter/@@index', '/datacenter/@@upload', '/datacenter/@@import1',
    4343    '/datacenter/@@import2', '/datacenter/@@import3', '/datacenter/@@import4',
    4444    '/datacenter/@@logs', '/datacenter/@@show', '/datacenter/@@manage',
    45     '/faculties/@@index', '/faculties/@@add', '/faculties/@@manage',
    46     '/faculties/fac1/@@index', '/faculties/fac1/@@manage',
    47     '/faculties/fac1/@@add',
    48     '/faculties/fac1/dept1/@@index',
    49     '/faculties/fac1/dept1/@@manage',
    50     '/faculties/fac1/dept1/@@addcourse',
    51     '/faculties/fac1/dept1/@@addcertificate',
    52     '/faculties/fac1/dept1/courses/crs1/@@index',
    53     '/faculties/fac1/dept1/courses/crs1/@@manage',
    54     '/faculties/fac1/dept1/certificates/cert1/@@index',
    55     '/faculties/fac1/dept1/certificates/cert1/@@manage',
    56     '/faculties/fac1/dept1/certificates/cert1/@@addcertificatecourse',
    57     '/faculties/fac1/dept1/certificates/cert1/crs1_100/@@index',
    58     '/faculties/fac1/dept1/certificates/cert1/crs1_100/@@manage',
    5945    ]
    6046public_pages = [
     
    7965        app['datacenter'].setStoragePath(self.dc_root)
    8066        app['users'].addUser('alice', 'alice')
    81         fac1 = createObject('waeup.Faculty')
    82         fac1.code = "fac1"
    83         app['faculties'].addFaculty(fac1)
    84         dept = createObject('waeup.Department')
    85         dept.code = 'dept1'
    86         fac1.addDepartment(dept)
    87         course = createObject('waeup.Course')
    88         course.code = 'crs1'
    89         dept.courses.addCourse(course)
    90         cert = createObject('waeup.Certificate')
    91         cert.code = 'cert1'
    92         dept.certificates.addCertificate(cert)
    93         cert.addCertCourse(course)
    9467
    9568        self.browser = Browser()
Note: See TracChangeset for help on using the changeset viewer.