- Timestamp:
- 3 Aug 2016, 09:07:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py
r14041 r14048 10 10 11 11 from waeup.aaue.students.reports.raw_score_report import ( 12 get_students, get_courses, RawScoreReport, IRawScoreReport) 12 get_students, RawScoreReport, IRawScoreReport, 13 get_courses_2 as get_courses) 13 14 from waeup.aaue.testing import FunctionalLayer 14 15 … … 35 36 def test_get_courses(self): 36 37 # we can get a list with one course code 37 result = get_courses('fac1', 'dep1', 100)38 result = get_courses('fac1', 'dep1', 2010, 100) 38 39 self.assertEqual(result, [(u'Course1')]) 39 40 return … … 41 42 def test_get_students(self): 42 43 # we can get a table with one student 43 course_codes = get_courses('fac1', 'dep1', 100)44 course_codes = get_courses('fac1', 'dep1', 2010, 100) 44 45 result = get_students('fac1', 'dep1', 2010, 100, course_codes) 45 46 self.assertEqual(result,
Note: See TracChangeset for help on using the changeset viewer.