- Timestamp:
- 23 Jan 2020, 14:35:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/tests/test_browser.py
r15942 r15947 134 134 pdf_content = 'A' * 1024 * 300 # A string of 300 KB size 135 135 pseudo_pdf = StringIO(pdf_content) 136 ctrl = self.browser.getControl(name=' form.res_stat')136 ctrl = self.browser.getControl(name='res_stat.pdf') 137 137 file_ctrl = ctrl.mech_control 138 138 file_ctrl.add_file(pseudo_pdf, filename='myform.pdf') … … 167 167 self.assertTrue( 168 168 'zope.mgr - kofacustom.iuokada.applicants.browser.CustomApplicantManageFormPage' 169 ' - %s - saved: res_stat '169 ' - %s - saved: res_stat.pdf' 170 170 % (self.transapplicant.applicant_id) 171 171 in logcontent)
Note: See TracChangeset for help on using the changeset viewer.