Ignore:
Timestamp:
16 Nov 2017, 07:02:47 (7 years ago)
Author:
Henrik Bettermann
Message:

Set additional_fields_required.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py

    r14804 r14901  
    941941    factory_name = 'waeup.StudentStudyCourse'
    942942
     943    additional_fields_required = [
     944        'current_level', 'current_session', 'current_verdict']
     945
    943946    def checkUpdateRequirements(self, obj, row, site):
    944947        """Checks requirements the studycourse and the student must fulfill
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r14553 r14901  
    12441244        num, num_warns, fin_file, fail_file = self.processor.doImport(
    12451245            self.csv_file, VERDICT_HEADER_FIELDS,'update')
    1246         #content = open(fail_file).read()
    1247         #import pdb; pdb.set_trace()
    12481246        self.assertEqual(num_warns,5)
    12491247        self.assertEqual(studycourse.current_verdict, '0')
Note: See TracChangeset for help on using the changeset viewer.