Source code for swh.provenance.pytest_plugin
# Copyright (C) 2024 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
import pytest
from swh.provenance import get_provenance
[docs]
@pytest.fixture
def swh_provenance(swh_provenance_config):
yield get_provenance(**swh_provenance_config)