Ignore:
Timestamp:
23 Jan 2020, 14:35:44 (5 years ago)
Author:
Henrik Bettermann
Message:

Remove redundant components and make adjustments to base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/tests/test_browser.py

    r15942 r15947  
    134134        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
    135135        pseudo_pdf = StringIO(pdf_content)
    136         ctrl = self.browser.getControl(name='form.res_stat')
     136        ctrl = self.browser.getControl(name='res_stat.pdf')
    137137        file_ctrl = ctrl.mech_control
    138138        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
     
    167167        self.assertTrue(
    168168            'zope.mgr - kofacustom.iuokada.applicants.browser.CustomApplicantManageFormPage'
    169             ' - %s - saved: res_stat'
     169            ' - %s - saved: res_stat.pdf'
    170170            % (self.transapplicant.applicant_id)
    171171            in logcontent)
Note: See TracChangeset for help on using the changeset viewer.