tests: limit length of database name
This commit is contained in:
parent
11310342cf
commit
973a0d13cb
|
@ -4,7 +4,7 @@ import tempfile
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.postgresql_psycopg2'),
|
||||
'NAME': 'combo-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:45],
|
||||
'NAME': 'combo-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:35],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue