관리-도구
편집 파일: testutils.cpython-311.pyc
� �܋f� � � � d Z ddlmZ ddlZddlmZ ddlmZ n# e $ r ddl mZ Y nw xY w G d� dee� � Z G d� d ej � � ZdS ) z� raven.utils.testutils ~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)�Exam)�TestCasec � � e Zd ZdS )r N)�__name__� __module__�__qualname__� � �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/raven/utils/testutils.pyr r s � � � � � ��Dr r c �* � � e Zd Z� fd�Zd� Zd� Z� xZS )�InMemoryClientc �V �� g | _ t t | � � j di |�� d S )Nr )�events�superr �__init__)�self�kwargs� __class__s �r r zInMemoryClient.__init__ s3 �� ����,��n�d�#�#�,�6�6�v�6�6�6�6�6r c � � dS )NTr )r s r � is_enabledzInMemoryClient.is_enabled s � ��tr c �: � | j � |� � d S )N)r �append)r r s r �sendzInMemoryClient.send s � �����6�"�"�"�"�"r )r r r r r r � __classcell__)r s @r r r sV �� � � � � �7� 7� 7� 7� 7�� � �#� #� #� #� #� #� #r r ) �__doc__� __future__r �raven�examr � unittest2r �BaseTestCase�ImportError�unittest�Clientr r r r �<module>r% s� ��� � '� &� &� &� &� &� ���� � � � � � �2�2�2�2�2�2�2�2��� 2� 2� 2�1�1�1�1�1�1�1�1�2���� � � � � �t�\� � � � #� #� #� #� #�U�\� #� #� #� #� #s � �)�)