Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Apr 23, 2024
1 parent 5ab0302 commit 04e19dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def pytest_configure(config: pytest.Config) -> None:
def django_db_setup(request: pytest.FixtureRequest) -> None:
if (
request.config.option.ci
# xdist worker id is either `gw[0-9]+` or `master`
and (xdist_worker_id_suffix := get_xdist_worker_id(request)[2:]).isnumeric()
):
# Django's test database clone indices start at 1,
Expand Down

0 comments on commit 04e19dd

Please sign in to comment.