§
    ´³Ùgh	  ã                   óD   — d Z ddlZddlmZ  G d„ dej        ¦  «        ZdS )z?TestExtensionManager

Extension manager used only for testing.
é    N)Ú	extensionc                   ó2   ‡ — e Zd ZdZdddi fˆ fd„	Zd„ Zˆ xZS )ÚTestExtensionManagera3  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                 ó’   •— t          ¦   «                              ||||¦  «         || _        t          j        dt
          ¦  «         d S )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         €úM/granary/edev/quantum/lib/python3.11/site-packages/stevedore/tests/manager.pyr
   zTestExtensionManager.__init__3   sY   ø€ õ
 	‰Œ×Ò˜Ø'Ø$Ø$ñ	ô 	ð 	ð
 %ˆŒÝŒØKÝñ	 ô 	 ð 	 ð 	 ð 	 ó    c                 ó   — g S )Nr   )r   ÚargsÚkwdss      r   Ú_load_pluginsz"TestExtensionManager._load_pluginsB   s   € Øˆ	r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ú__classcell__)r   s   @r   r   r      sd   ø€ € € € € ðð ð8 "Ø %ØØð	 ð  ð  ð  ð  ð  ðð ð ð ð ð ð r   r   )r   r   Ú	stevedorer   ÚExtensionManagerr   r   r   r   ú<module>r"      sc   ððð ð
 €€€à Ð Ð Ð Ð Ð ð,ð ,ð ,ð ,ð ,˜9Ô5ñ ,ô ,ð ,ð ,ð ,r   