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

All Samples(12)  |  Call(4)  |  Derive(2)  |  Import(6)
A base class for extension registry implementation. 

src/e/n/envisage-HEAD/envisage/tests/mutable_extension_registry.py   envisage(Download)
""" A mutable, manually populated extension registry used for testing. """
 
 
# Enthought library imports.
from envisage.api import ExtensionRegistry, UnknownExtension
 
 
class MutableExtensionRegistry(ExtensionRegistry):

src/e/n/envisage-HEAD/envisage/tests/extension_registry_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import ExtensionRegistry, UnknownExtensionPoint
from traits.api import List
from traits.testing.unittest_tools import unittest
        # We do all of the testing via the application to make sure it offers
        # the same interface!
        self.registry = Application(extension_registry=ExtensionRegistry())
 
        return

src/e/n/envisage-HEAD/envisage/tests/extension_point_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import ExtensionRegistry
from traits.api import HasTraits, Int, List, TraitError
from traits.testing.unittest_tools import unittest
        # We do all of the testing via the application to make sure it offers
        # the same interface!
        self.registry = Application(extension_registry=ExtensionRegistry())
 
        # Set the extension registry used by the test classes.

src/e/n/envisage-4.4.0/envisage/tests/mutable_extension_registry.py   envisage(Download)
""" A mutable, manually populated extension registry used for testing. """
 
 
# Enthought library imports.
from envisage.api import ExtensionRegistry, UnknownExtension
 
 
class MutableExtensionRegistry(ExtensionRegistry):

src/e/n/envisage-4.4.0/envisage/tests/extension_registry_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import ExtensionRegistry, UnknownExtensionPoint
from traits.api import List
from traits.testing.unittest_tools import unittest
        # We do all of the testing via the application to make sure it offers
        # the same interface!
        self.registry = Application(extension_registry=ExtensionRegistry())
 
        return

src/e/n/envisage-4.4.0/envisage/tests/extension_point_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import ExtensionRegistry
from traits.api import HasTraits, Int, List, TraitError
from traits.testing.unittest_tools import unittest
        # We do all of the testing via the application to make sure it offers
        # the same interface!
        self.registry = Application(extension_registry=ExtensionRegistry())
 
        # Set the extension registry used by the test classes.