File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,9 +162,10 @@ def test_xdist_with_reuse(django_testdir):
162162 def _check(settings, worker_id):
163163 # Make sure that the database name looks correct
164164 db_name = settings.DATABASES['default']['NAME']
165- assert db_name.startswith('test_pytest_django')
166- assert db_name.endswith("_{}".format(worker_id))
167-
165+ assert db_name == (
166+ 'test_pytest_django_should_never_get_accessed_inner_inner_{}'
167+ .format(worker_id)
168+ )
168169 assert Item.objects.count() == 0
169170 Item.objects.create(name='foo')
170171 assert Item.objects.count() == 1
Original file line number Diff line number Diff line change 3232 pytest41: pytest>=4.1,<4.2
3333 pytest41: attrs ==17.4.0
3434 xdist: pytest-xdist>=1.15
35- xdist: pytest<5.3.4
3635
3736setenv =
3837 PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
You can’t perform that action at this time.
0 commit comments