Ignore:
Timestamp:
22 May 2012, 05:18:50 (12 years ago)
Author:
Henrik Bettermann
Message:

Test if _curr_stud_id is set correctly. This test fails at the moment. I don't know why.

File:
1 edited

Legend:

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

    r8488 r8489  
    342342
    343343    def test_import(self):
     344        self.assertEqual(self.app['students']._curr_stud_id, 1000001)
    344345        num, num_warns, fin_file, fail_file = self.processor.doImport(
    345346            self.csv_file, STUDENT_HEADER_FIELDS)
     
    349350        self.assertEqual(
    350351            self.app['students']['X666666'].state, 'courses validated')
     352        self.assertEqual(self.app['students']._curr_stud_id, 1000005)
    351353        shutil.rmtree(os.path.dirname(fin_file))
    352354
Note: See TracChangeset for help on using the changeset viewer.