Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(4)  |  Import(0)

src/p/r/Products.ImageRepository-1.0.2/Products/ImageRepository/tests/testSetup.py   Products.ImageRepository(Download)
class TestSetup(ImageRepositoryTestCase.ImageRepositoryTestCase):
 
    def testContentTypes(self):
        types = self.portal.portal_types.objectIds()
        contents = ['ImageRepository']

src/p/r/Products.ImageRepository-1.0.2/Products/ImageRepository/tests/testImageRepository.py   Products.ImageRepository(Download)
class TestImageRepository(ImageRepositoryTestCase.ImageRepositoryTestCase):
 
    def afterSetUp(self):
        self.repository = _createObjectByType('ImageRepository', self.portal, 'repository')
        self.repository.at_post_create_script()
class TestBatchTagging(ImageRepositoryTestCase.ImageRepositoryTestCase):
 
    def afterSetUp(self):
        self.repository = _createObjectByType('ImageRepository', self.portal, 'repository')
        self.repository.at_post_create_script()
class TestMakeImageRepositoryQuery(ImageRepositoryTestCase.ImageRepositoryTestCase):
 
    def afterSetUp(self):
        self.repository = _createObjectByType('ImageRepository', self.portal, 'repository')
        self.repository.at_post_create_script()