Verified Commit 79af6d5f authored by Karel Koci's avatar Karel Koci 🤘
Browse files

selftests/target: use ids for target

This converts argument identification from 'target0' to real name of
target.
parent 0add2f74
......@@ -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)])
Supports Markdown
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