Ignore:
Timestamp:
8 Nov 2011, 18:22:43 (13 years ago)
Author:
uli
Message:

Remove old blob storage and fix related tests.

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  
    3939from waeup.sirp.image import WAeUPImageFile, createWAeUPImageFile
    4040from waeup.sirp.image.interfaces import IWAeUPImageFile
    41 from waeup.sirp.imagestorage import ImageStorageFileRetrieval, DefaultStorage
     41from waeup.sirp.imagestorage import DefaultStorage
    4242from waeup.sirp.interfaces import IFileStoreHandler, IFileStoreNameChooser
    4343from waeup.sirp.applicants import (
     
    218218    def setUp(self):
    219219        super(ApplicantFactoryTest, self).setUp()
    220         # Install a IFileRetrieval utility that returns WAeUPImageFiles.
    221         storage = ImageStorageFileRetrieval()
    222         #provideUtility(storage, IFileRetrieval)
    223220        self.factory = ApplicantFactory()
    224221        return
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/tests/test_browser.py

    r7002 r7034  
    748748        file_ctrl.add_file(pseudo_image, filename='myphoto.jpg')
    749749        self.browser.getControl("Save").click() # submit form
    750         storage = self.app['images']
    751750        storage = getUtility(IExtFileStore)
    752751        file_id = IFileStoreNameChooser(self.applicant).chooseName()
Note: See TracChangeset for help on using the changeset viewer.