diff options
Diffstat (limited to 'app/tests/conftest.py')
-rw-r--r-- | app/tests/conftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/tests/conftest.py b/app/tests/conftest.py index 1da24d3..0fd1ef1 100644 --- a/app/tests/conftest.py +++ b/app/tests/conftest.py @@ -9,6 +9,8 @@ import os def app(): flask_app.config['WTF_CSRF_ENABLED'] = False flask_app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///" + tempfile.mkstemp(suffix='.db')[-1] + flask_app.config['MAIL_BACKEND'] = "file" #"locmem" + flask_app.config["MAIL_FILE_PATH"] = '/tmp/app-messages' db.create_all() yield flask_app |