tests: shorten database name

This commit is contained in:
Thomas NOËL 2021-09-17 14:59:21 +02:00
parent 81b79d3c14
commit 41fa5cd751
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'TEST': {
'NAME': 'chrono-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:63],
'NAME': 'chrono-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:45],
},
}
}