File tree 2 files changed +4
-4
lines changed
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):
162
162
def _check(settings, worker_id):
163
163
# Make sure that the database name looks correct
164
164
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
+ )
168
169
assert Item.objects.count() == 0
169
170
Item.objects.create(name='foo')
170
171
assert Item.objects.count() == 1
Original file line number Diff line number Diff line change 32
32
pytest41: pytest>=4.1,<4.2
33
33
pytest41: attrs ==17.4.0
34
34
xdist: pytest-xdist>=1.15
35
- xdist: pytest<5.3.4
36
35
37
36
setenv =
38
37
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
You can’t perform that action at this time.
0 commit comments