chore: dependencies update

This commit is contained in:
Éloi Rivard 2024-07-25 16:44:43 +02:00
parent 9e1b5e2a58
commit 127d56f713
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 455 additions and 459 deletions

907
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,6 +5,7 @@ from babel.messages.frontend import compile_catalog
from flask_webtest import TestApp
from jinja2 import FileSystemBytecodeCache
from jinja2 import StrictUndefined
from pytest_lazy_fixtures import lf
from werkzeug.security import gen_salt
from canaille import create_app
@ -48,15 +49,13 @@ def pytest_generate_tests(metafunc):
if backend not in backends: # pragma: no cover
pytest.skip()
elif "backend" in metafunc.fixturenames:
metafunc.parametrize(
"backend", [pytest.lazy_fixtures(f"{backend}_backend")]
)
metafunc.parametrize("backend", [lf(f"{backend}_backend")])
return
elif "backend" in metafunc.fixturenames:
metafunc.parametrize(
"backend",
[pytest.lazy_fixtures(f"{backend}_backend") for backend in backends],
[lf(f"{backend}_backend") for backend in backends],
)