Skip to content
Snippets Groups Projects
Verified Commit 0f4a3e76 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

pytest-plugin: Break recursive fixture definition

This seems to be the root cause of the issue in the debian build.

Refs. swh/infra/sysadm-environment#4525
parent 46d20a95
No related tags found
No related merge requests found
# Copyright (C) 2019-2020 The Software Heritage developers
# Copyright (C) 2019-2023 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
......@@ -53,10 +53,10 @@ if pytest_cov is not None and int(pytest_cov.__version__.split(".")[0]) < 4:
@pytest.fixture
def swh_storage_backend_config(swh_storage_backend_config):
"""storage should test with its journal writer collaborator on"""
def swh_storage_backend_config(swh_storage_postgresql_backend_config):
"""Storage should test with its journal writer collaborator on"""
yield {
**swh_storage_backend_config,
**swh_storage_postgresql_backend_config,
"journal_writer": {
"cls": "memory",
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment