Ignore:
Timestamp:
3 Jun 2012, 13:50:22 (13 years ago)
Author:
Henrik Bettermann
Message:

Now we have two different error messages which is great.

File:
1 edited

Legend:

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

    r8614 r8616  
    332332                    'Wrong birthdate of imported applicant '
    333333                    '(1990-01-02, should be: 1990-02-01)')
    334         # CERT3 does not exist and CERT2 is in wrong category.
    335334        self.assertEqual(num_warns,2)
    336335        fail_contents = open(fail_file, 'rb').read()
    337336        shutil.rmtree(os.path.dirname(fail_file))
     337        # CERT2 is in wrong category ...
    338338        self.assertTrue('course1: wrong application category' in fail_contents)
     339        # ... and CERT3 does not exist.
     340        self.assertTrue('course1: Invalid value' in fail_contents)
    339341        return
    340342
Note: See TracChangeset for help on using the changeset viewer.