Ignore:
Timestamp:
16 Aug 2016, 11:14:45 (8 years ago)
Author:
Henrik Bettermann
Message:

Add two property attributes: remark and final_remark.

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

Legend:

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

    r13965 r14082  
    2525    def test_get_students(self):
    2626        # we can get a table with one student
     27        self.student['studycourse']['100']['Course1'].ca = 0
    2728        result = get_students('fac1', 'dep1', 2010, 100)
    2829        self.assertEqual(result,
    29             [(u'1234', u'TESTER, Bob', 30, 30, 5.0, '', 30, 30, 5.0)])
     30            [(u'1234', u'TESTER, Bob', 30, 30, 5.0, '', 30, 30, 5.0, 'Proceed')])
    3031        return
    3132
    3233    def test_create_pdf(self):
     34        self.student['studycourse']['100']['Course1'].ca = 0
    3335        report = LevelReport('fac1', 'dep1', 2010, 100)
    3436        result = report.create_pdf()
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py

    r14076 r14082  
    4242    def test_get_students(self):
    4343        # we can get a table with one student
     44        self.student['studycourse']['100']['Course1'].ca = 0
    4445        course_codes = get_courses('fac1', 'dep1', 2010, 100)
    4546        result = get_students('fac1', 'dep1', 2010, 100, course_codes)
Note: See TracChangeset for help on using the changeset viewer.