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