Ignore:
Timestamp:
2 Oct 2011, 07:57:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Use matric_number for location of studycourses as well.

File:
1 edited

Legend:

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

    r6840 r6843  
    133133        num, num_warns, fin_file, fail_file = self.importer.doImport(
    134134            self.csv_file, STUDENT_HEADER_FIELDS)
     135        self.assertEqual(num_warns,0)
    135136        assert len(self.app['students'].keys()) == 4
    136137        shutil.rmtree(os.path.dirname(fin_file))
     
    203204            self.csv_file, STUDYCOURSE_HEADER_FIELDS,'update')
    204205        studycourse = self.importer.getEntry(dict(reg_number='1'), self.app)
     206        self.assertEqual(num_warns,0)
    205207        self.assertEqual(studycourse.certificate.code, u'CERT1')
    206208        shutil.rmtree(os.path.dirname(fin_file))
Note: See TracChangeset for help on using the changeset viewer.