Projet

Général

Profil

0001-tests-limit-length-of-database-name.patch

Frédéric Péters, 30 août 2022 12:33

Télécharger (818 octets)

Voir les différences:

Subject: [PATCH 1/2] tests: limit length of database name

 tests/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/settings.py
4 4
DATABASES = {
5 5
    'default': {
6 6
        'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.postgresql_psycopg2'),
7
        'NAME': 'combo-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:45],
7
        'NAME': 'combo-test-%s' % os.environ.get("BRANCH_NAME", "").replace('/', '-')[:35],
8 8
    }
9 9
}
10 10

  
11
-