Skip to content

Commit

Permalink
tests: support other plugins present
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored and abravalheri committed Oct 12, 2023
1 parent 13dd0ef commit 58ab7a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58ab7a7

Please sign in to comment.