Ignore:
Timestamp:
10 Feb 2017, 17:03:20 (8 years ago)
Author:
Henrik Bettermann
Message:

If ticket.score is set to '-1', total_score will be 0 and the grade is '-'.

File:
1 edited

Legend:

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

    r14515 r14532  
    405405        # A course ticket slip can be downloaded
    406406        self.login_as_lecturer()
     407        self.student['studycourse']['100']['COURSE1'].score = 55
     408        self.student['studycourse']['100']['COURSE1'].ca = 11
    407409        pdf_url = '%s/coursetickets.pdf' % self.course_url
    408410        self.browser.open(pdf_url)
Note: See TracChangeset for help on using the changeset viewer.