%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/test/__pycache__/test_roots.cpython-312.pyc

�

Ϫ�f���F�ddlmZddlmZGd�dej�Zy)�)�roots)�unittestc�,�eZdZdd�Zdd�Zdd�Zdd�Zy)�
RootsTestsNc���tj�}	|jd�|j�	|j�|j�y#t$rY�-wxYw#t$rYywxYw)Nsblah)r�Request�write�fail�NotImplementedError�finish)�self�requests  �9/usr/lib/python3/dist-packages/twisted/test/test_roots.py�testExceptionszRootsTests.testExceptions
sj���-�-�/��	��M�M�'�"�
�I�I�K�	��N�N��
�I�I�K��#�	��	��#�	��	�s"�A�A(�	A%�$A%�(	A4�3A4c��tj�}|jdd�|j|j	d�d�|jd�|j|j	d�d�	|j
dd�|j�	|jdd�|j�y#t$rY�/wxYw#t$rYywxYw)N�x�test)
r�
Collection�	putEntity�assertEqual�getStaticEntity�	delEntity�storeEntityr
r�removeEntity)r
�
collections  r�testCollectionzRootsTests.testCollections����%�%�'�
����S�&�)�����3�3�C�8�&�A����S�!�����3�3�C�8�$�?�	��"�"�3��-�
�I�I�K�	��#�#�C��.�
�I�I�K��#�	��	��#�	��	�s$�;C�C�	C
�C
�	C�Cc���Gd�dtj�}|�}|j|jdd��|j	tj
|jdd�y)Nc��eZdZdedefd�Zy)�)RootsTests.testConstrained.<locals>.const�name�returnc��|dk(S)Nr�)r
r s  r�nameConstraintz8RootsTests.testConstrained.<locals>.const.nameConstraint.s���s�{�"�N)�__name__�
__module__�__qualname__�str�boolr$r#r%r�constr-s��
#�3�
#�4�
#r%r+rr�y)r�Constrained�assertIsNoner�assertRaises�ConstraintViolation)r
r+�cs   r�testConstrainedzRootsTests.testConstrained,sT��	#�E�%�%�	#�
�G�����!�+�+�c�6�2�3����%�3�3�Q�[�[�#�v�Nr%c��tj�}t|_|j	dd�|j|j
d�d�|jtj|jdd�y)N�a�rr,)	r�
Homogenous�int�
entityTyperrrr/r0)r
�hs  r�testHomogenouszRootsTests.testHomogenous5s^����������	���C�������*�*�3�/��3����%�3�3�Q�[�[�#�s�Kr%)r!N)r&r'r(rrr2r:r#r%rrr	s��
��&O�Lr%rN)�twisted.pythonr�
twisted.trialr�TestCaserr#r%r�<module>r>s!��
!�"�1L��"�"�1Lr%

Zerion Mini Shell 1.0