Changeset 10456 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 6 Aug 2013, 05:13:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_reports.py
r9679 r10456 18 18 states = ('created', 'admitted', 'clearance started', 19 19 'clearance requested', 'cleared', 'school fee paid', 20 'courses registered', 'courses validated', 'returning', 'Total') 20 'courses registered', 'courses validated', 'returning', 21 'graduated', 'transcript requested', 'Total') 21 22 22 23 def test_iface(self): … … 35 36 ((u'fac1', u'Total',), 36 37 self.states, 37 ((1, 0, 0, 0, 0, 0, 0, 0, 0, 1),38 (1, 0, 0, 0, 0, 0, 0, 0, 0, 1),)))38 ((1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1), 39 (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),))) 39 40 self.assertEqual( 40 41 result2, 41 42 ((u'fac1', u'Total'), 42 43 self.states, 43 ((0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),44 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),)))44 ((0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), 45 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),))) 45 46 return 46 47 … … 54 55 ((u'fac1', u'fac2', u'Total'), 55 56 self.states, 56 ((1, 0, 0, 0, 0, 0, 0, 0, 0, 1),57 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),58 (1, 0, 0, 0, 0, 0, 0, 0, 0, 1),)))57 ((1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1), 58 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), 59 (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),))) 59 60 self.assertEqual( 60 61 result2, 61 62 ((u'fac1', u'fac2', u'Total'), 62 63 self.states, 63 ((0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),64 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),65 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),)))64 ((0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), 65 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), 66 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),))) 66 67 return 67 68
Note: See TracChangeset for help on using the changeset viewer.