Ignore:
Timestamp:
2 Sep 2011, 09:43:46 (13 years ago)
Author:
uli
Message:

Use w.s. test case for functional tests.

File:
1 edited

Legend:

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

    r6632 r6657  
    2525from StringIO import StringIO
    2626from hurry.file.interfaces import IFileRetrieval
    27 from zope.app.testing.functional import FunctionalTestCase
    2827from zope.component import (
    2928    provideAdapter, adapts, getGlobalSiteManager, provideUtility)
     
    4443    )
    4544from waeup.sirp.imagestorage import ImageStorageFileRetrieval
    46 from waeup.sirp.testing import FunctionalLayer
     45from waeup.sirp.testing import (FunctionalTestCase, FunctionalLayer)
    4746
    4847class FakeImageLocation(object):
     
    116115
    117116    def setUp(self):
     117        super(ApplicantFactoryTest, self).setUp()
    118118        # Install a IFileRetrieval utility that returns WAeUPImageFiles.
    119119        storage = ImageStorageFileRetrieval()
    120120        provideUtility(storage, IFileRetrieval)
    121121        self.factory = ApplicantFactory()
    122 
    123     def tearDown(self):
    124         pass
     122        return
     123
     124    def tearDown(self):
     125        super(ApplicantFactoryTest, self).tearDown()
     126        return
    125127
    126128    def test_interfaces(self):
Note: See TracChangeset for help on using the changeset viewer.