2023-04-15 11:00:02 +00:00
|
|
|
import pytest
|
2024-03-15 18:58:06 +00:00
|
|
|
|
2023-04-15 11:00:02 +00:00
|
|
|
from canaille.backends.memory.backend import Backend
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture
|
|
|
|
def memory_backend(configuration):
|
|
|
|
backend = Backend(configuration)
|
|
|
|
with backend.session():
|
|
|
|
yield backend
|