sea/test/fixtures.py

Summary

Maintainability
A
0 mins
Test Coverage
import pytest

from sea import current_app


@pytest.fixture
def app():
    return current_app


@pytest.fixture
def cache(app):
    cache = app.extensions.cache
    cache.clear()
    yield cache
    cache.clear()