We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a956a commit 42ff7acCopy full SHA for 42ff7ac
api/conftest.py
@@ -96,6 +96,7 @@ def pytest_configure(config: pytest.Config) -> None:
96
def django_db_setup(request: pytest.FixtureRequest) -> None:
97
if (
98
request.config.option.ci
99
+ # xdist worker id prefix is either `gw[0-9]+` or `master`
100
and (xdist_worker_id_suffix := get_xdist_worker_id(request)[2:]).isnumeric()
101
):
102
# Django's test database clone indices start at 1,
0 commit comments