Changeset 14421 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 19 Jan 2017, 06:45:07 (8 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r14237 r14421 926 926 self.assertEqual(td[0][1]['level'].level_session, 2006) 927 927 self.assertEqual(td[0][1]['tickets_1'][0].code, 'ANYCODE') 928 self.assertEqual(td[1], 3.5 7)928 self.assertEqual(td[1], 3.5652173913043477) 929 929 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 930 930 self.browser.open(self.student_path + '/studycourse/transcript') -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py
r14275 r14421 4 4 from waeup.kofa.interfaces import ICSVExporter 5 5 from waeup.kofa.schoolgrades import ResultEntry 6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup 6 from waeup.kofa.students.tests.test_batching import ( 7 StudentImportExportSetup, curr_year) 7 8 from waeup.uniben.utils.utils import CustomKofaUtils 8 9 from waeup.uniben.students.export import ( … … 107 108 'r_pay_reference,thirdparty_amt,student_id,state,' 108 109 'current_session\r\n' 109 '666,12.12, 2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'110 '100, 2012,paid,2012-04-01 14:12:01#,,12.12,'111 '789,r-code,interswatch,,,,A111111,created,2012\r\n' ,112 result110 '666,12.12,%s-04-01 13:12:01#,,schoolfee,1,my-id,p-item,' 111 '100,%s,paid,%s-04-01 14:12:01#,,12.12,' 112 '789,r-code,interswatch,,,,A111111,created,2012\r\n' 113 % (curr_year-6, curr_year-6, curr_year-6), result 113 114 ) 114 115 return
Note: See TracChangeset for help on using the changeset viewer.