Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_interfaces.py   Products.Archetypes(Download)
    StorageLayer, AttributeStorage, ObjectManagedStorage, MetadataStorage
from Products.Archetypes.atapi import registerType
from Products.Archetypes.tests.layer import ZCML
 
 
 
    """
    layer = ZCML
    klass = None  # test this class
    instance = None  # test this instance
    class KlassInterfaceTest(InterfaceTest):
        """ implementation for %s """ % name
        klass = klass
        forcedImpl = forcedImpl
        layer = ZCML
    class InstanceInterfaceTest(InterfaceTest):
        """ implementation for %s """ % name
        instance = testInstance
        forcedImpl = ()
        layer = ZCML

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/attestcase.py   Products.Archetypes(Download)
from Products.GenericSetup import EXTENSION, profile_registry
 
from Products.Archetypes.tests.layer import ZCML
 
default_user = user_name
class ATTestCase(ZopeTestCase.ZopeTestCase):
    """Simple AT test case
    """
    layer = ZCML
 
class ATFunctionalTestCase(Functional, ATTestCase):
    """Simple AT test case for functional tests
    """
    layer = ZCML

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_interfaces.py   Products.Archetypes(Download)
    StorageLayer, AttributeStorage, ObjectManagedStorage, MetadataStorage
from Products.Archetypes.atapi import registerType
from Products.Archetypes.tests.layer import ZCML
 
 
 
    """
    layer = ZCML
    klass = None  # test this class
    instance = None  # test this instance
    class KlassInterfaceTest(InterfaceTest):
        """ implementation for %s """ % name
        klass = klass
        forcedImpl = forcedImpl
        layer = ZCML
    class InstanceInterfaceTest(InterfaceTest):
        """ implementation for %s """ % name
        instance = testInstance
        forcedImpl = ()
        layer = ZCML

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/attestcase.py   Products.Archetypes(Download)
from Products.GenericSetup import EXTENSION, profile_registry
 
from Products.Archetypes.tests.layer import ZCML
 
default_user = user_name
class ATTestCase(ZopeTestCase.ZopeTestCase):
    """Simple AT test case
    """
    layer = ZCML
 
class ATFunctionalTestCase(Functional, ATTestCase):
    """Simple AT test case for functional tests
    """
    layer = ZCML