Skip to content
Snippets Groups Projects
Verified Commit 79af6d5f authored by Karel Koci's avatar Karel Koci :metal:
Browse files

selftests/target: use ids for target

This converts argument identification from 'target0' to real name of
target.
parent 0add2f74
Branches
1 merge request!28Draft: Improve cleanup to remove stale containers
......@@ -6,6 +6,6 @@ def pytest_generate_tests(metafunc):
return
targets = [target for target in metafunc.config.targets.values() if target.is_available()]
if targets:
metafunc.parametrize("target", targets)
metafunc.parametrize("target", targets, ids=[target.name for target in targets])
else:
metafunc.parametrize("target", [pytest.param("no-target", marks=pytest.mark.skip)])
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment