Changeset 12386
- Timestamp:
- 3 Jan 2015, 18:46:36 (10 years ago)
- 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 74 74 if expected_ext: 75 75 if '.' + file_format != expected_ext: 76 view.flash(_('${a} file extensionexpected.',76 view.flash(_('${a} file format expected.', 77 77 mapping={'a': expected_ext[1:]}), type="danger") 78 78 return False -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12368 r12386 367 367 self.browser.getControl( 368 368 name='upload_passportmanageupload').click() 369 self.assertTrue('jpg file extensionexpected'369 self.assertTrue('jpg file format expected' 370 370 in self.browser.contents) 371 371 ctrl = self.browser.getControl(name='passportmanageupload') … … 1083 1083 name='upload_pdfscanmanageupload').click() 1084 1084 self.assertTrue( 1085 'pdf file extensionexpected' in self.browser.contents)1085 'pdf file format expected' in self.browser.contents) 1086 1086 ctrl = self.browser.getControl(name='pdfscanmanageupload') 1087 1087 file_ctrl = ctrl.mech_control -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_browser.py
r12256 r12386 135 135 name='upload_pdfscanmanageupload').click() 136 136 self.assertTrue( 137 'pdf file extensionexpected' in self.browser.contents)137 'pdf file format expected' in self.browser.contents) 138 138 ctrl = self.browser.getControl(name='pdfscanmanageupload') 139 139 file_ctrl = ctrl.mech_control
Note: See TracChangeset for help on using the changeset viewer.