Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tests: support other plugins present
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored and abravalheri committed Oct 12, 2023
commit 58ab7a758ff148c3ec1f1de3b7fe09c5d2efa0ed
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