AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/conch/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/twisted/conch/test/__pycache__/test_window.cpython-310.pyc
o

�bA�@sHdZddlmZmZmZddlmZGdd�de�ZGdd�de�ZdS)	zJ
Tests for the insults windowing module, L{twisted.conch.insults.window}.
�)�ScrolledArea�
TextOutput�	TopWindow)�TestCasec@�eZdZdZdd�ZdS)�TopWindowTestszB
    Tests for L{TopWindow}, the root window container class.
    cs�g�g}t�fdd�|j�}|��g�|�|g�|��|��g�|�t|�d�|��|��g�|�t|�d�|���|�t��d�|�|g�|��|�t��d�|�t|�d�dS)z�
        Verify that L{TopWindow.repaint} schedules an actual paint to occur
        using the scheduling object passed to its initializer.
        cs
��d�S)N)�append���paintsr	�@/usr/lib/python3/dist-packages/twisted/conch/test/test_window.py�<lambda>s
z5TopWindowTests.test_paintScheduling.<locals>.<lambda>�N)rr�assertEqual�repaint�len�pop)�self�	scheduled�rootr	r
r�test_paintSchedulings"
z#TopWindowTests.test_paintSchedulingN)�__name__�
__module__�__qualname__�__doc__rr	r	r	rr	src@r)�ScrolledAreaTestsz�
    Tests for L{ScrolledArea}, a widget which creates a viewport containing
    another widget and can reposition that viewport using scrollbars.
    cCs2t�}t|�}|�|j|j�|�|jj|�dS)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�scrolledr	r	r�test_parent8szScrolledAreaTests.test_parentN)rrrrr!r	r	r	rr2srN)	r�twisted.conch.insults.windowrrr�twisted.trial.unittestrrrr	r	r	r�<module>s
)

Anon7 - 2022
AnonSec Team