canaille-globuzma/tests/backends/memory/fixtures.py
2023-08-17 12:33:45 +02:00

9 lines
207 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