Changeset 14399


Ignore:
Timestamp:
14 Jan 2017, 16:55:11 (8 years ago)
Author:
Henrik Bettermann
Message:

Break line after 26 characters.

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

Legend:

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

    r14384 r14399  
    9999                else:
    100100                    scores[ticket.code] = ('0', '')
     101        fullname = textwrap.fill(stud.display_fullname, 26)
    101102        line = (
    102103                stud.matric_number,
    103                 stud.display_fullname,
     104                fullname,
    104105                scores,
    105106                )
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py

    r14374 r14399  
    6666        ticket.ca = 10
    6767        self.student['studycourse']['200']['Course2'] = ticket
     68        self.student.firstname = u'Osahenokese Tessy'
     69        self.student.lastname = u'Emwinyomwanru'
    6870        report = RawScoreReport('fac1', 'dep1', 2011, 200)
    6971        result = report.create_pdf('JOB_ID')
Note: See TracChangeset for help on using the changeset viewer.