We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73185c8 commit 8b4ec8dCopy full SHA for 8b4ec8d
tests/conftest.py
@@ -5,6 +5,15 @@
5
_XDIST_ARGS = ["--numprocesses", "auto"]
6
7
8
+@pytest.fixture(
9
+ params=[_NO_ARGS, _XDIST_ARGS],
10
+ ids=["no_plugin", "with_xdist"],
11
+)
12
+def plugin_args(request: pytest.FixtureRequest) -> list[str]:
13
+ """Fixture to test with various plugins"""
14
+ return request.param
15
+
16
17
@pytest.fixture(
18
params=[
19
_NO_ARGS,
@@ -15,6 +24,6 @@
24
],
25
ids=["no_plugin", "with_xdist"],
26
)
-def plugin_args(request: pytest.FixtureRequest) -> list[str]:
- """Fixture to test with various plugins"""
27
+def plugin_args_fails_xdist(request: pytest.FixtureRequest) -> list[str]:
28
+ """Fixture to test with various plugins, but expected to fail xdist"""
20
29
return request.param
0 commit comments