We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 210ee60 + 107155e commit db5166fCopy full SHA for db5166f
pytest_django/fixtures.py
@@ -46,7 +46,7 @@ def django_db_modify_db_settings_tox_suffix():
46
def django_db_modify_db_settings_xdist_suffix(request):
47
skip_if_no_django()
48
49
- xdist_suffix = getattr(request.config, "slaveinput", {}).get("slaveid")
+ xdist_suffix = getattr(request.config, "workerinput", {}).get("workerid")
50
if xdist_suffix:
51
# Put a suffix like _gw0, _gw1 etc on xdist processes
52
_set_suffix_to_test_databases(suffix=xdist_suffix)
0 commit comments