Refactor testing stuff #111

Merged
gergely merged 1 commits from testing-refactor into master 2018-07-25 18:29:19 +00:00
2 changed files with 19 additions and 0 deletions

1
.env.testing Normal file
View File

@ -0,0 +1 @@
FLASK_ENV=testing

View File

@ -0,0 +1,18 @@
"""Configuration file for the development environment
"""
ENV = 'testing'
#: If ``True``, registration on the site is enabled.
REGISTRATION_ENABLED = True
#: The default time zone
DEFAULT_TIMEZONE = 'Europe/Budapest'
DEBUG = False
TESTING=True
SQLALCHEMY_DATABASE_URI = 'sqlite:///'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = 'WeAreTesting'
SECURITY_PASSWORD_HASH = 'bcrypt'
SECURITY_PASSWORD_SALT = SECRET_KEY
SECURITY_REGISTERABLE = False
CACHE_TYPE = 'simple'