| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/utils/__pycache__/ |
Upload File : |
�
�|oi� � � � 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__� � �g/builddir/build/BUILD/cloudlinux-venv-1.0.10/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 � �)�)