~homeworkprod/byceps

ref: a663ad5171b1f736b0ca781606a4426fad04ccd0 byceps/config/test_admin.py -rw-r--r-- 463 bytes
a663ad51 — Jochen Kupperschmidt Handle missing screen name on email address confirmation request 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# an admin app configuration file to be used in tests

SECRET_KEY = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
SERVER_NAME = 'admin.acmecon.test'
SESSION_COOKIE_SECURE = True
TESTING = True

SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://byceps_test:test@127.0.0.1/byceps_test'

REDIS_URL = 'redis://127.0.0.1:6379/0'

APP_MODE = 'admin'

MAIL_DEBUG = False
MAIL_SUPPRESS_SEND = True

JOBS_ASYNC = False