canaille-globuzma/tests/backends/memory/fixtures.py
2024-03-15 19:58:37 +01:00

10 lines
208 B
Python

import pytest
from canaille.backends.memory.backend import Backend
@pytest.fixture
def memory_backend(configuration):
backend = Backend(configuration)
with backend.session():
yield backend