https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/twisted/web/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3/dist-packages/twisted/web/test/__pycache__/test_web__responses.cpython-310.pyc
o

�b=�@s:dZddlZddlmZddlmZGdd�dej�ZdS)z|
The L{_response} module contains constants for all standard HTTP codes, along
with a mapping to the corresponding phrases.
�N)�unittest)�
_responsesc@seZdZdd�ZdS)�
ResponseTestscCsRtt�D]"}|dkrqtdd�|D��r&tt|�}|�|t�|�|tj�qdS)z
        All constants besides C{RESPONSES} defined in L{_response} are
        integers and are keys in C{RESPONSES}.
        �	RESPONSEScss"�|]}|dkp|tjvVqdS)�_N)�string�ascii_uppercase)�.0�c�r�F/usr/lib/python3/dist-packages/twisted/web/test/test_web__responses.py�	<genexpr>s� z/ResponseTests.test_constants.<locals>.<genexpr>N)�dirr�all�getattr�assertIsInstance�int�assertInr)�self�sym�valrrr�test_constantss
��zResponseTests.test_constantsN)�__name__�
__module__�__qualname__rrrrrrsr)�__doc__r�
twisted.trialr�twisted.webr�TestCaserrrrr�<module>s


https://t.me/RX1948 - 2025