403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.200
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/twisted/conch/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

oj���l�dZddlmZddlmZddlmZmZmZddl	m
Z
Gd�de
�ZGd�d	e
�Zy
)zJ
Tests for the insults windowing module, L{twisted.conch.insults.window}.
�)�annotations)�Callable)�ScrolledArea�
TextOutput�	TopWindow)�TestCasec��eZdZdZdd�Zy)�TopWindowTestszB
    Tests for L{TopWindow}, the root window container class.
    c���g�g}t�fd�|j�}|j�g�|j|g�|j�|j�g�|jt	|�d�|j�|j�g�|jt	|�d�|j��|jt	��d�|j|g�|j�|jt	��d�|jt	|�d�y)z�
        Verify that L{TopWindow.repaint} schedules an actual paint to occur
        using the scheduling object passed to its initializer.
        c�&���jd�S)N)�append)�paintss��@/usr/lib/python3/dist-packages/twisted/conch/test/test_window.py�<lambda>z5TopWindowTests.test_paintScheduling.<locals>.<lambda>s������t�!4���N)rr
�assertEqual�repaint�len�pop)�self�	scheduled�rootrs   @r�test_paintSchedulingz#TopWindowTests.test_paintSchedulings	���
 ��02�	��4�i�6F�6F�G��	
�����$�����B�'�	
���������$�����Y���+�	
���������$�����Y���+�	�	�
�
�������V��a�(�����B�'�	
��������V��a�(�����Y���+rN��return�None)�__name__�
__module__�__qualname__�__doc__r�rrr
r
s���!,rr
c��eZdZdZdd�Zy)�ScrolledAreaTestsz�
    Tests for L{ScrolledArea}, a widget which creates a viewport containing
    another widget and can reposition that viewport using scrollbars.
    c���t�}t|�}|j|j|j�|j|jj|�y)z�
        The parent of the widget passed to L{ScrolledArea} is set to a new
        L{Viewport} created by the L{ScrolledArea} which itself has the
        L{ScrolledArea} instance as its parent.
        N)rr�assertIs�parent�	_viewport)r�widget�scrolleds   r�test_parentzScrolledAreaTests.test_parent;sG�������'���
�
�f�m�m�X�%7�%7�8��
�
�h�(�(�/�/��:rNr)rrr r!r+r"rrr$r$5s���
	;rr$N)
r!�
__future__r�typingr�twisted.conch.insults.windowrrr�twisted.trial.unittestrr
r$r"rr�<module>r0s4���#��L�L�+�&,�X�&,�R;��;r

Youez - 2016 - github.com/yon3zu
LinuXploit