Ignore:
Timestamp:
8 Feb 2017, 08:17:02 (8 years ago)
Author:
Henrik Bettermann
Message:

Customize signature fields. Fetch names from academic section.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_level_report.py

    r14506 r14517  
    3636    def test_create_pdf(self):
    3737        self.student['studycourse']['100']['Course1'].ca = 0
     38        self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'
     39        self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'
    3840        report = CustomLevelReport('fac1', 'dep1', 'CERT1', 2010, 100)
    3941        result = report.create_pdf('JOB_ID')
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py

    r14506 r14517  
    6161        self.app['faculties']['fac1']['dep1'].certificates[
    6262            'CERT1'].addCertCourse(self.course, level=100)
     63        self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'
     64        self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'
    6365        studylevel = createObject('waeup.StudentStudyLevel')
    6466        studylevel.level = 200
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_session_results_presentation.py

    r14503 r14517  
    4242    def test_create_pdf(self):
    4343        self.certificate.degree = 'BA(FS)'
     44        self.app['faculties']['fac1'].officer_1 = 'Rosa Moonshine (Dean of Faculty)'
     45        self.app['faculties']['fac1']['dep1'].officer_1 = 'Amalia Sunshine (Head of Department)'
     46        self.app['faculties']['fac1']['dep1'].officer_2 = 'Theresa Starbright (External Examiner)'
    4447        report = CustomSessionResultsPresentation('fac1', 'dep1', 'CERT1', 2010, 100)
    4548        result = report.create_pdf('JOB_ID')
Note: See TracChangeset for help on using the changeset viewer.