Changeset 6600
- Timestamp:
- 12 Aug 2011, 16:11:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r6599 r6600 687 687 # The stored image can be fetched 688 688 fd = storage.retrieveFile(u'18e57c7eac6ca7fb15b54b5b2bd4106d-1') 689 #fd = storage.retrieveFile(file_id)690 689 file_len = len(fd.read()) 691 690 self.assertEqual(file_len, 31) 692 691 # The image uploaded belongs to the applicant 693 # XXX: When there are errors in form, then the applicant is not694 # changed. This (failing) test is here to remember us that695 # we have to care for images when form submits fail.696 692 file_id = self.applicant.passport.data 697 693 self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.