Did I find the right examples for you? yes no

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

src/z/o/Zope-HEAD/src/Zope2/Startup/tests/test_warnfilter.py   Zope(Download)
import ZConfig
import Zope2.Startup
import Products
 
TEMPNAME = tempfile.mktemp()

src/z/o/Zope-HEAD/src/Zope2/Startup/tests/test_schema.py   Zope(Download)
import ZConfig
import Zope2.Startup
import Products
 
from Zope2.Startup import datatypes

src/z/o/Zope-HEAD/src/Zope2/Startup/tests/testStarter.py   Zope(Download)
 
import Zope2.Startup
import Products
 
from App.config import getConfiguration, setConfiguration

src/z/o/Zope-HEAD/src/Testing/ZopeTestCase/ZopeLite.py   Zope(Download)
from OFS.Application import install_product, install_package
from OFS.Folder import Folder
import Products
 
_installedProducts = {}

src/z/o/Zope-HEAD/src/OFS/tests/test_metaconfigure.py   Zope(Download)
    def setUp(self):
        from zope.component.testing import setUp
        setUp()
        import OFS.metaconfigure
        import Products
        OFS.metaconfigure._register_monkies[:] = self._old_monkies 
        if self._old_metatypes is not _marker:
            import Products
            Products.meta_types = self._old_metatypes
        else:
    def _getRegistered(self):
        import OFS.metaconfigure
        import Products
        return (getattr(Products, 'meta_types', _marker),
                OFS.metaconfigure._register_monkies, 
    def test_minimal_no_Products_metatypes(self):
        import Products
        try:
            del Products.meta_types
        except AttributeError:

src/z/o/Zope-HEAD/src/OFS/tests/testProductInit.py   Zope(Download)
import ZConfig
from App.config import getConfiguration, setConfiguration
import Products
 
TEMPNAME = tempfile.mktemp()
        from OFS.Application import install_product, get_folder_permissions,\
             Application
        import Products
        from OFS.Folder import Folder
        app = getApp()

src/z/o/Zope-HEAD/src/OFS/tests/testAppInitializer.py   Zope(Download)
        os.rmdir(TEMPPRODUCTS)
        os.rmdir(TEMPNAME)
        import Products
        Products.__path__ = [d for d in Products.__path__
                             if os.path.exists(d)]

src/p/r/Products.PloneFormGen-HEAD/Products/PloneFormGen/tests/testSetup.py   Products.PloneFormGen(Download)
from Products.CMFCore.utils import getToolByName
 
import Products
 
def getAddPermission(product, name):

src/p/r/Products.CMFEditions-HEAD/Products/CMFEditions/tests/test_FAQ.py   Products.CMFEditions(Download)
# Nastily patch Products to get FAQ accepted
import os
import Products
Products.__path__.insert(0, os.path.dirname(os.path.abspath(__file__)))
 

src/e/r/erp5-HEAD/product/ERP5Type/tests/runUnitTest.py   erp5(Download)
  if WIN:
    products_home = os.path.join(real_instance_home, 'Products')
    import Products
    Products.__path__.insert(0, products_home)
  else:

Previous  3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11  Next