We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76e131 commit 35014e4Copy full SHA for 35014e4
tests/test_db_setup.py
@@ -162,8 +162,7 @@ def test_xdist_with_reuse(django_testdir):
162
def _check(settings, worker_id):
163
# Make sure that the database name looks correct
164
db_name = settings.DATABASES['default']['NAME']
165
- assert db_name.startswith('test_custom_db_name_')
166
- assert db_name.ndswith(worker_id)
+ assert db_name == 'test_pytest_django_2000_inner_inner_{}'.format(worker_id)
167
168
assert Item.objects.count() == 0
169
Item.objects.create(name='foo')
0 commit comments