HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/twisted/web/test/__pycache__/test_web__responses.cpython-38.pyc
U


W[m�@sJdZddlmZmZddlZddlmZddlmZGdd�dej	�Z
dS)z|
The L{_response} module contains constants for all standard HTTP codes, along
with a mapping to the corresponding phrases.
�)�division�absolute_importN)�unittest)�
_responsesc@seZdZdd�ZdS)�
ResponseTestscCsRtt�D]D}|dkrqtdd�|D��rtt|�}|�|t�|�|tj�qdS)z
        All constants besides C{RESPONSES} defined in L{_response} are
        integers and are keys in C{RESPONSES}.
        �	RESPONSEScss |]}|dkp|tjkVqdS)�_N)�stringZascii_uppercase)�.0�c�r�F/usr/lib/python3/dist-packages/twisted/web/test/test_web__responses.py�	<genexpr>sz/ResponseTests.test_constants.<locals>.<genexpr>N)�dirr�all�getattrZassertIsInstance�intZassertInr)�selfZsym�valrrr
�test_constantss
zResponseTests.test_constantsN)�__name__�
__module__�__qualname__rrrrr
rsr)�__doc__Z
__future__rrr	Z
twisted.trialrZtwisted.webrZTestCaserrrrr
�<module>s