Did I find the right examples for you? yes no

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

src/e/r/erp5-HEAD/product/ERP5Type/tests/ERP5TypeLiveTestCase.py   erp5(Download)
    sys.path.append(path)
  product_test_list = []
  import Products
  for product_path in Products.__path__:
    product_test_list.extend(glob(os.path.join(product_path, '*', 'tests')))

src/p/r/Products.FacultyStaffDirectory-3.1.3/Products/FacultyStaffDirectory/tests/testExtensibility.py   Products.FacultyStaffDirectory(Download)
import sys
 
import Products
from Products.CMFCore.utils import getToolByName
from Products.PloneTestCase import PloneTestCase

src/p/r/Products.PloneStatCounter-0.1/Products/PloneStatCounter/tests.py   Products.PloneStatCounter(Download)
ptc.setupPloneSite()
 
import Products
 
class TestCase(ptc.PloneTestCase):

src/c/o/collective.easyform-1.0a1/collective/easyform/tests/testSetup.py   collective.easyform(Download)
from collective.easyform.tests import base
from Products.CMFCore.utils import getToolByName
import Products
 
 

src/p/l/plone.checksum-0.1/plone/checksum/tests.py   plone.checksum(Download)
except ImportError:
    print >> sys.stderr, "Skipping plone.checksum tests for BlobFile."
    import Products
    Products.BlobFile = False
else:

src/p/r/Products.CMFEditions-2.2.9/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/p/r/Products.PASGroupsFromLDAP-1.2.3/src/Products/PASGroupsFromLDAP/tests/test_doctests.py   Products.PASGroupsFromLDAP(Download)
from Products.PloneTestCase import PloneTestCase
 
import Products
from Products.Five import zcml
 

src/p/r/Products.ManagableIndex-2.1.5/Products/ManagableIndex/tests/TestBase.py   Products.ManagableIndex(Download)
if _ih:
  _updatePath(sys.path, path.join(_ih,'lib','python'))
  import Products; _updatePath(Products.__path__,path.join(_ih,'Products'))
 
 
    # work around a Zope bug: "Products.__path__" may contain
    #  non existing elements
    import Products, os.path
    Products.__path__ = [p for p in Products.__path__ if os.path.exists(p)]
    products = get_products()

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

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

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