o
    >hE                     @   s:   d Z ddlZddlmZ ddlmZ G dd dejZdS )z|
The L{_response} module contains constants for all standard HTTP codes, along
with a mapping to the corresponding phrases.
    N)unittest)
_responsesc                   @   s   e Zd ZdddZdS )ResponseTestsreturnNc                 C   sR   t tD ]"}|dkrqtdd |D r&tt|}| |t | |tj qdS )z
        All constants besides C{RESPONSES} defined in L{_response} are
        integers and are keys in C{RESPONSES}.
        	RESPONSESc                 s   s"    | ]}|d kp|t jv V  qdS )_N)stringascii_uppercase).0c r   /var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-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valr   r   r   test_constants   s   
zResponseTests.test_constants)r   N)__name__
__module____qualname__r   r   r   r   r   r      s    r   )__doc__r   twisted.trialr   twisted.webr   TestCaser   r   r   r   r   <module>   s
   