Ignore:
Timestamp:
11 Jan 2015, 22:43:35 (10 years ago)
Author:
Henrik Bettermann
Message:

We need to provide unique filenames. Let's use the document id for the filename and not the download_name of the respective viewlet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py

    r12388 r12444  
    11041104            name='upload_pdfscanmanageupload').click()
    11051105        self.assertTrue(
    1106             'href="http://localhost/app/customers/K1000000/documents/%s/sample.pdf">PDF File</a>'
    1107             % docid in self.browser.contents)
     1106            'href="http://localhost/app/customers/K1000000/documents/%s/sample.pdf">%s.pdf</a>'
     1107            % (docid, docid[:9]) in self.browser.contents)
    11081108        # Browsing the link shows a real pdf
    11091109        self.browser.open('sample.pdf')
Note: See TracChangeset for help on using the changeset viewer.