관리-도구
편집 파일: test_shouldraise.cpython-311.pyc
� �܋ft � �F � d dl mZ d dlmZ d dlmZ G d� de� � ZdS )� )�ValidationError)�ShouldRaise)�ShouldAssertc � � e Zd Zd� Zd� ZdS )�"TestShouldRaiseWithValidatorErrorsc �t � t t d� � � � 5 t d� � �# 1 swxY w Y d S )N�d'oh)r r )�selfs ��/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/tests/test_django/test_shouldraise.py�test_as_expectedz3TestShouldRaiseWithValidatorErrors.test_as_expected sb � � ���0�0� 1� 1� *� *�!�&�)�)�)� *� *� *� *���� *� *� *� *� *� *s �-�1�1c �� � d}t |� � 5 t t d� � � � 5 t d� � �# 1 swxY w Y d d d � � d S # 1 swxY w Y d S )NzJValidationError(["d'oh"]) (expected) != ValidationError(['nuts']) (raised)r �nuts)r r r )r �messages r �test_not_as_expectedz7TestShouldRaiseWithValidatorErrors.test_not_as_expected s� � � 3� � �'� "� "� .� .��_�V�4�4�5�5� .� .�%�f�-�-�-� .� .� .� .���� .� .� .� .� .� .� .� .� .� .� .� .� .� .� .� .� .���� .� .� .� .� .� .s, �A�?�A �A�A �A�A�AN)�__name__� __module__�__qualname__r r � � r r r s2 � � � � � �*� *� *�.� .� .� .� .r r N)�django.core.exceptionsr �testfixturesr �testfixtures.shouldraiser �objectr r r r �<module>r so �� 2� 2� 2� 2� 2� 2� $� $� $� $� $� $� 1� 1� 1� 1� 1� 1� .� .� .� .� .�� .� .� .� .� .r