Changeset 13868 for main/waeup.kofa/trunk/src
- Timestamp:
- 29 May 2016, 09:27:26 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r10616 r13868 27 27 result = get_students('fac1', 'dep1', 2010, 100) 28 28 self.assertEqual(result, 29 [(u'1234', u'Bob Tester', 30, 30, 5.0, [], 30, 30, 5.0)])29 [(u'1234', u'Bob Tester', 30, 30, 5.0, '', 30, 30, 5.0)]) 30 30 return 31 31 -
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r13069 r13868 152 152 """ 153 153 passed = failed = 0 154 courses_failed = []154 courses_failed = '' 155 155 credits_failed = 0 156 156 credits_passed = 0 … … 160 160 failed += 1 161 161 credits_failed += ticket.credits 162 courses_failed .append(ticket.code)162 courses_failed += '%s ' % ticket.code 163 163 else: 164 164 passed += 1 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13797 r13868 863 863 self.assertEqual( 864 864 self.student['studycourse']['100'].passed_params, 865 (1, 1, 13, 10, ['COURSE1']))865 (1, 1, 13, 10, 'COURSE1 ')) 866 866 self.assertEqual( 867 867 self.student['studycourse']['200'].passed_params, 868 (0, 0, 0, 0, []))868 (0, 0, 0, 0, '')) 869 869 # And also cumulative params can be calculated. Meanwhile we have the 870 870 # following courses: COURSE1 and COURSE2 in level 100 and
Note: See TracChangeset for help on using the changeset viewer.