From 570ad36eaf2ea7885a6017f16318a642a4bf5196 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 5 Feb 2013 17:41:45 +0100 Subject: [PATCH] fix parametrized testid to provide for uniqueness --- testing/python/fixture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/python/fixture.py b/testing/python/fixture.py index 35d53c3b0..02cd55c21 100644 --- a/testing/python/fixture.py +++ b/testing/python/fixture.py @@ -1160,8 +1160,8 @@ class TestAutouseManagement: reprec.assertoutcome(passed=1) @pytest.mark.issue226 - @pytest.mark.parametrize("param1", ["", "params=[1]"]) - @pytest.mark.parametrize("param2", ["", "params=[1]"]) + @pytest.mark.parametrize("param1", ["", "params=[1]"], ids=["p00","p01"]) + @pytest.mark.parametrize("param2", ["", "params=[1]"], ids=["p10","p11"]) def test_ordering_dependencies_torndown_first(self, testdir, param1, param2): testdir.makepyfile(""" import pytest