Ignore:
Timestamp:
11 Nov 2011, 16:37:03 (13 years ago)
Author:
Henrik Bettermann
Message:

Increase MAX_UPLOAD_SIZE, 20 kB is more realistic.

We can import DEFAULT_PASSPORT_IMAGE_MALE directly instead of IMAGE_PATH. That means configuration is solely done in interfaces.py not in browser.py.

DEFAULT_PASSPORT_IMAGE_FEMALE is no longer used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py

    r7083 r7086  
    666666        self.login()
    667667        # Create a pseudo image file and select it to be uploaded in form
    668         photo_content = 'A' * 1024 * 11  # A string of 11 GB size
     668        photo_content = 'A' * 1024 * 21  # A string of 11 GB size
    669669        pseudo_image = StringIO(photo_content)
    670670        ctrl = self.browser.getControl(name='form.passport')
Note: See TracChangeset for help on using the changeset viewer.