You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
424 B
12 lines
424 B
"""Settings module for test app."""
|
|
ENV = "development"
|
|
TESTING = True
|
|
SQLALCHEMY_DATABASE_URI = "sqlite://"
|
|
SECRET_KEY = "not-so-secret-in-tests"
|
|
BCRYPT_LOG_ROUNDS = (
|
|
4 # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds"
|
|
)
|
|
DEBUG_TB_ENABLED = False
|
|
CACHE_TYPE = "simple" # Can be "memcached", "redis", etc.
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
WTF_CSRF_ENABLED = False # Allows form testing
|
|
|