From 58ab7a758ff148c3ec1f1de3b7fe09c5d2efa0ed Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 11 Oct 2023 12:22:38 -0400 Subject: [PATCH] tests: support other plugins present Signed-off-by: Henry Schreiner --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index ac54217..dde3522 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -75,8 +75,8 @@ def invalid_example(tmp_path): class TestEnable: TOOLS = ("setuptools", "distutils") - @pytest.mark.parametrize("tool, other_tool", zip(TOOLS, reversed(TOOLS))) - def test_parse(self, valid_example, tool, other_tool): + @pytest.mark.parametrize("tool", TOOLS) + def test_parse(self, valid_example, tool): params = parse_args([str(valid_example), "-E", tool]) assert len(params.plugins) == 1 assert params.plugins[0].tool == tool