forked from Github-Mirrors/canaille
10 lines
220 B
Python
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
|