HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
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