mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
11 lines
254 B
Python
11 lines
254 B
Python
def test_mail_server():
|
|
import os
|
|
|
|
os.environ["DATABASE_URL"] = "postgresql://postgres@localhost/gsevpt_tests"
|
|
os.environ["MAIL_SERVER"] = "mailserver.com"
|
|
|
|
from project import app
|
|
|
|
app.config["TESTING"] = True
|
|
app.testing = True
|