Your IP : 3.138.134.247
B
��Y� � @ s~ d Z ddlmZ ddlZddlmZ yddlmZ W n e k
rT ddl
mZ Y nX G dd� dee�ZG dd � 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 @ s e Zd ZdS )r N)�__name__�
__module__�__qualname__� r r �F/opt/alt/python37/lib/python3.7/site-packages/raven/utils/testutils.pyr s r c s, e Zd Z� fdd�Zdd� Zdd� Z� ZS )�InMemoryClientc s g | _ tt| �jf |� d S )N)�events�superr
�__init__)�self�kwargs)� __class__r r r
s zInMemoryClient.__init__c C s dS )NTr )r r r r �
is_enabled s zInMemoryClient.is_enabledc K s | j �|� d S )N)r �append)r r r r r �send s zInMemoryClient.send)r r r r
r r �
__classcell__r r )r r r
s r
)
�__doc__�
__future__r �ravenZexamr � unittest2r ZBaseTestCase�ImportError�unittestZClientr
r r r r �<module> s