- Timestamp:
- 8 Nov 2011, 18:22:43 (13 years ago)
- Location:
- main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/tests/test_applicant.py
r7002 r7034 39 39 from waeup.sirp.image import WAeUPImageFile, createWAeUPImageFile 40 40 from waeup.sirp.image.interfaces import IWAeUPImageFile 41 from waeup.sirp.imagestorage import ImageStorageFileRetrieval,DefaultStorage41 from waeup.sirp.imagestorage import DefaultStorage 42 42 from waeup.sirp.interfaces import IFileStoreHandler, IFileStoreNameChooser 43 43 from waeup.sirp.applicants import ( … … 218 218 def setUp(self): 219 219 super(ApplicantFactoryTest, self).setUp() 220 # Install a IFileRetrieval utility that returns WAeUPImageFiles.221 storage = ImageStorageFileRetrieval()222 #provideUtility(storage, IFileRetrieval)223 220 self.factory = ApplicantFactory() 224 221 return -
main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/tests/test_browser.py
r7002 r7034 748 748 file_ctrl.add_file(pseudo_image, filename='myphoto.jpg') 749 749 self.browser.getControl("Save").click() # submit form 750 storage = self.app['images']751 750 storage = getUtility(IExtFileStore) 752 751 file_id = IFileStoreNameChooser(self.applicant).chooseName()
Note: See TracChangeset for help on using the changeset viewer.