Changeset 9977 for main


Ignore:
Timestamp:
21 Feb 2013, 15:58:47 (12 years ago)
Author:
Henrik Bettermann
Message:

Add regression test. The level attribute of a StudentStudyLevel? object must be integer after update.

File:
1 edited

Legend:

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

    r9961 r9977  
    795795            self.csv_file, STUDYLEVEL_HEADER_FIELDS,'update')
    796796        self.assertEqual(num_warns,2)
     797        studylevel = self.processor.getEntry(
     798            dict(reg_number='1', level='100'), self.app)
     799        self.assertEqual(studylevel.level, 100)
    797800        shutil.rmtree(os.path.dirname(fin_file))
    798801
Note: See TracChangeset for help on using the changeset viewer.