Skip to content
Snippets Groups Projects
Unverified Commit 29b9a57c authored by Casey's avatar Casey :recycle:
Browse files

test: conftest: describe paramaterize for config_file (MR 2477)

parent 953f84a7
Branches
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ from pmb.helpers.args import init as init_args
_testdir = Path(__file__).parent / "data/tests"
# request can be specified using parameterize from test cases
# e.g. @pytest.mark.parametrize("config_file", ["no-repos"], indirect=True)
# will set request.param to "no-repos"
@pytest.fixture
def config_file(tmp_path_factory, request):
"""Fixture to create a temporary pmbootstrap_v3.cfg file."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment