Did I find the right examples for you? yes no

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

src/t/o/topp.featurelets-0.3.0/topp/featurelets/tests/utils.py   topp.featurelets(Download)
from zope.app.tests.placelesssetup import setUp
from Products.Five import zcml
 
import Products.Five
import topp.featurelets
 
def register_zcml(with_setup=False):
    if with_setup:
        setUp()

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/tests/base/testcase.py   Products.FileSystemSite(Download)
except ImportError:  # BBB, Zope3 < 3.1
    from zope.app.tests.placelesssetup import PlacelessSetup
    from zope.app.tests.placelesssetup import setUp as placelessSetUp
    from zope.app.tests.placelesssetup import tearDown as placelessTearDown
 

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/tests/utils.py   getpaid.pxpay(Download)
def configurationSetUp(self):
    """Set up Zope 3 test environment
    """
 
    placelesssetup.setUp()