X7ROOT File Manager
Current Path:
/opt/alt/python37/lib/python3.7/site-packages/raven/utils
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
raven
/
utils
/
ðŸ“
..
📄
__init__.py
(4.71 KB)
ðŸ“
__pycache__
📄
compat.py
(5.54 KB)
📄
conf.py
(2.22 KB)
📄
encoding.py
(3.23 KB)
📄
http.py
(1.95 KB)
📄
imports.py
(404 B)
📄
json.py
(2.54 KB)
ðŸ“
serializer
📄
ssl_match_hostname.py
(3.51 KB)
📄
stacks.py
(9.81 KB)
📄
testutils.py
(697 B)
📄
transaction.py
(1.06 KB)
📄
urlparse.py
(476 B)
📄
wsgi.py
(3.64 KB)
Editing: testutils.py
""" raven.utils.testutils ~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import import raven from exam import Exam try: from unittest2 import TestCase as BaseTestCase except ImportError: from unittest import TestCase as BaseTestCase # NOQA class TestCase(Exam, BaseTestCase): pass class InMemoryClient(raven.Client): def __init__(self, **kwargs): self.events = [] super(InMemoryClient, self).__init__(**kwargs) def is_enabled(self): return True def send(self, **kwargs): self.events.append(kwargs)
Upload File
Create Folder