Changeset 7529 for main/waeup.sirp/trunk/src
- Timestamp:
- 28 Jan 2012, 08:37:31 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/sample_studycourse_data.csv
r6844 r7529 3 3 2,,CERT1,2008,100 4 4 ,100002,CERT1,2008,100 5 1,,CERT1,2008,-1 -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py
r7527 r7529 280 280 num, num_warns, fin_file, fail_file = self.importer.doImport( 281 281 self.csv_file, STUDYCOURSE_HEADER_FIELDS,'update') 282 self.assertEqual(num_warns,1) 282 283 studycourse = self.importer.getEntry(dict(reg_number='1'), self.app) 283 self.assertEqual(num_warns,0)284 284 self.assertEqual(studycourse.certificate.code, u'CERT1') 285 285 shutil.rmtree(os.path.dirname(fin_file))
Note: See TracChangeset for help on using the changeset viewer.