403Webshell
Server IP : 138.197.162.186  /  Your IP : 216.73.216.184
Web Server : nginx/1.24.0
System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/twisted/positioning/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/twisted/positioning/test/__pycache__/receiver.cpython-312.pyc
�

Ϫ�f]��B�dZddlmZmZGd�dej�Zy)z
Receivers for use in tests.
�)�base�ipositioningc�"�eZdZdZd�Zd�Zd�Zy)�MockPositioningReceivera
    A mock positioning receiver.

    Mocks all the L{IPositioningReceiver} methods with stubs that don't do
    anything but register that they were called.

    @ivar called: A mapping of names of callbacks that have been called to
        C{True}.
    @type called: C{dict}
    c�p�|j�tjD]}|j|��y)N)�clearr�IPositioningReceiver�_addCallback)�self�
methodNames  �C/usr/lib/python3/dist-packages/twisted/positioning/test/receiver.py�__init__z MockPositioningReceiver.__init__s.���
�
��&�;�;�	*�J����j�)�	*�c��i|_y)zt
        Forget all the methods that have been called on this receiver, by
        emptying C{self.called}.
        N��called)rs r
rzMockPositioningReceiver.clears��
��rc�.�����fd�}t��|�y)zq
        Adds a callback of the given name, setting C{self.called[name]} to
        C{True} when called.
        c�$��d�j�<y)NTr)�a�kw�namers  ��r
�callbackz6MockPositioningReceiver._addCallback.<locals>.callback*s��� $�D�K�K��rN)�setattr)rrrs`` r
r
z$MockPositioningReceiver._addCallback$s���	%�	��d�H�%rN)�__name__�
__module__�__qualname__�__doc__rrr
�rr
rrs��	�*��	&rrN)r�twisted.positioningrr�BasePositioningReceiverrrrr
�<module>r!s!���
3�"&�d�:�:�"&r

Youez - 2016 - github.com/yon3zu
LinuXploit