File manager - Edit - /opt/imh-python/lib/python2.7/site-packages/stevedore/tests/manager.pyc
Back
� ��Wc @ s? d Z d d l Z d d l m Z d e j f d � � YZ d S( s? TestExtensionManager Extension manager used only for testing. i����N( t extensiont TestExtensionManagerc B s, e Z d Z d e d i d � Z d � Z RS( s3 ExtensionManager that is explicitly initialized for tests. .. deprecated:: 0.13 Use the :func:`make_test_instance` class method of the class being replaced by the test instance instead of using this class directly. :param extensions: Pre-configured Extension instances to use instead of loading them from entry points. :type extensions: list of :class:`~stevedore.extension.Extension` :param namespace: The namespace for the entry points. :type namespace: str :param invoke_on_load: Boolean controlling whether to invoke the object returned by the entry point after the driver is loaded. :type invoke_on_load: bool :param invoke_args: Positional arguments to pass when invoking the object returned by the entry point. Only used if invoke_on_load is True. :type invoke_args: tuple :param invoke_kwds: Named arguments to pass when invoking the object returned by the entry point. Only used if invoke_on_load is True. :type invoke_kwds: dict t testc C s<