Ignore:
Timestamp:
22 Apr 2013, 15:15:19 (12 years ago)
Author:
Henrik Bettermann
Message:

Basename must come first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicant.py

    r10091 r10092  
    152152        appl.__parent__ = fake_container
    153153        chooser = IFileStoreNameChooser(appl)
    154         result = chooser.chooseName(attr='any.pdf')
    155         self.assertEqual(
    156             result, '__img-applicant__folder/%s_any.pdf' % appl.applicant_id)
     154        result = chooser.chooseName(attr='anything.pdf')
     155        self.assertEqual(
     156            result, '__img-applicant__folder/anything_%s.pdf' % appl.applicant_id)
    157157        return
    158158
Note: See TracChangeset for help on using the changeset viewer.