Ignore:
Timestamp:
4 Jan 2015, 16:00:38 (10 years ago)
Author:
Henrik Bettermann
Message:

Fix some tests and other minor changes to adjust to Ikoba.

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

Legend:

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

    r11862 r12393  
    670670        self.browser.getControl(
    671671            name='upload_passportuploadmanage').click()
    672         self.assertTrue('jpg file extension expected'
     672        self.assertTrue('jpg file format expected'
    673673            in self.browser.contents)
    674674        ctrl = self.browser.getControl(name='passportuploadmanage')
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r12111 r12393  
    10461046            'current_level,current_session,current_mode,'
    10471047            '%s\r\nA111111,234,Anna M. Tester,created,CERT1,NA,NA,0,'
    1048             '200,2012,ug_ft,,,,,14.14,,,12.12,,\r\n'
     1048            '200,2012,ug_ft,,,,,14.14,,12.12,,,\r\n'
    10491049            % year_range_str in result
    10501050            )
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r11976 r12393  
    843843    if expected_ext:
    844844        if '.' + file_format != expected_ext:
    845             view.flash(_('${a} file extension expected.',
     845            view.flash(_('${a} file format expected.',
    846846                mapping = {'a':expected_ext[1:]}), type="danger")
    847847            return False
Note: See TracChangeset for help on using the changeset viewer.