
    z	ih	                     F    S r SSKrSSKJr   " S S\R                  5      rg)z?TestExtensionManager

Extension manager used only for testing.
    N)	extensionc                   >   ^  \ rS rSrSrSSS0 4U 4S jjrS rSrU =r$ )	TestExtensionManager   a  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

testF c                 l   > [         TU ]  UUUU5        Xl        [        R                  " S[
        5        g )Nz=TestExtesionManager has been replaced by make_test_instance())super__init__
extensionswarningswarnDeprecationWarning)selfr   	namespaceinvoke_on_loadinvoke_argsinvoke_kwds	__class__s         Q/home/james-whalen/.local/lib/python3.13/site-packages/stevedore/tests/manager.pyr   TestExtensionManager.__init__3   s6    
 	'$$	
 %K	     c                     / $ )Nr   )r   argskwdss      r   _load_plugins"TestExtensionManager._load_pluginsB   s    	r   )r   )	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classcell__)r   s   @r   r   r      s%    8 " %	  r   r   )r"   r   	stevedorer   ExtensionManagerr   r   r   r   <module>r'      s$   
  ,955 ,r   