import os
import tempfile

DATABASES = {
    'default': {
        'ENGINE': os.environ.get('DB_ENGINE', 'django.db.backends.postgresql_psycopg2'),
        'NAME': 'scrutiny-test-%s' % os.environ.get('BRANCH_NAME', '').replace('/', '-')[:35],
    }
}


MEDIA_ROOT = tempfile.mkdtemp('scrutiny-test')

REDMINE_URL = 'https://redmine.example.org'
