Skip to content

Commit d7b1af5

Browse files
committed
sigh, make the parametrization values deterministic
1 parent 35ccbd1 commit d7b1af5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/functional/test_cli.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ def test_entrypoints_work(entrypoint: str, script: PipTestEnvironment) -> None:
5353

5454
@pytest.mark.parametrize(
5555
"command",
56-
set(commands_dict).symmetric_difference(
57-
# Exclude commands that are expected to use the network.
58-
# TODO: uninstall and list should only import network modules as needed
59-
{"install", "uninstall", "download", "search", "index", "wheel", "list"}
56+
sorted(
57+
set(commands_dict).symmetric_difference(
58+
# Exclude commands that are expected to use the network.
59+
# TODO: uninstall and list should only import network modules as needed
60+
{"install", "uninstall", "download", "search", "index", "wheel", "list"}
61+
)
6062
),
6163
)
6264
def test_no_network_imports(command: str, tmp_path: Path) -> None:

0 commit comments

Comments
 (0)