Changeset 12386


Ignore:
Timestamp:
3 Jan 2015, 18:46:36 (10 years ago)
Author:
Henrik Bettermann
Message:

Tell the truth.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/fileviewlets.py

    r12223 r12386  
    7474    if expected_ext:
    7575        if '.' + file_format != expected_ext:
    76             view.flash(_('${a} file extension expected.',
     76            view.flash(_('${a} file format expected.',
    7777                mapping={'a': expected_ext[1:]}), type="danger")
    7878            return False
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py

    r12368 r12386  
    367367        self.browser.getControl(
    368368            name='upload_passportmanageupload').click()
    369         self.assertTrue('jpg file extension expected'
     369        self.assertTrue('jpg file format expected'
    370370            in self.browser.contents)
    371371        ctrl = self.browser.getControl(name='passportmanageupload')
     
    10831083            name='upload_pdfscanmanageupload').click()
    10841084        self.assertTrue(
    1085             'pdf file extension expected' in self.browser.contents)
     1085            'pdf file format expected' in self.browser.contents)
    10861086        ctrl = self.browser.getControl(name='pdfscanmanageupload')
    10871087        file_ctrl = ctrl.mech_control
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_browser.py

    r12256 r12386  
    135135            name='upload_pdfscanmanageupload').click()
    136136        self.assertTrue(
    137             'pdf file extension expected' in self.browser.contents)
     137            'pdf file format expected' in self.browser.contents)
    138138        ctrl = self.browser.getControl(name='pdfscanmanageupload')
    139139        file_ctrl = ctrl.mech_control
Note: See TracChangeset for help on using the changeset viewer.