canaille-globuzma/tests/backends/memory/fixtures.py
2024-05-03 22:25:20 +02:00

10 lines
220 B
Python

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