def pytest_runtest_teardown(item): from sentry.app import tsdb tsdb.flush() client = StrictRedis(db=9) client.flushdb() from celery.task.control import discard_all discard_all()
def pytest_runtest_teardown(item): from sentry.app import tsdb tsdb.flush() from sentry.utils.redis import clusters with clusters.get('default').all() as client: client.flushdb() from celery.task.control import discard_all discard_all()
def pytest_runtest_teardown(item): from sentry.app import tsdb tsdb.flush()