403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/stevedore/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/stevedore/tests/__pycache__/manager.cpython-311.pyc
�

��Oc�	��D�dZddlZddlmZGd�dej��ZdS)z?TestExtensionManager

Extension manager used only for testing.
�N)�	extensionc�2��eZdZdZdddif�fd�	Zd�Z�xZS)�TestExtensionManagera3ExtensionManager 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���tt|���||||��||_t	jdt��dS)Nz=TestExtesionManager has been replaced by make_test_instance())�superr�__init__�
extensions�warnings�warn�DeprecationWarning)�selfr�	namespace�invoke_on_load�invoke_args�invoke_kwds�	__class__s      ��9/usr/lib/python3/dist-packages/stevedore/tests/manager.pyr
zTestExtensionManager.__init__3s`���
	�"�D�)�)�2�2�9�3A�3>�3>�	5�	5�	5�
%����
�K��	 �	 �	 �	 �	 �c��gS)Nr)r�args�kwdss   r�
_load_pluginsz"TestExtensionManager._load_pluginsBs���	r)�__name__�
__module__�__qualname__�__doc__r
r�
__classcell__)rs@rrrsd���������8"� %���	
 �
 �
 �
 �
 �
 �������rr)rr�	stevedorer�ExtensionManagerrrrr�<module>r"sc����
����������,�,�,�,�,�9�5�,�,�,�,�,r

Youez - 2016 - github.com/yon3zu
LinuXploit