diff options
Diffstat (limited to 'tests/conftest.py')
| -rw-r--r-- | tests/conftest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index c18f9de..1e41314 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,7 +15,9 @@ with open(os.path.join(os.path.dirname(__file__), "data.sql"), "rb") as f: def app(): db_fd, db_path = tempfile.mkstemp() - app = create_app({"TESTING": True, "DATABASE": db_path,}) + app = create_app( + {"TESTING": True, "DATABASE": db_path, "SERVER_NAME": "test.localdomain"} + ) with app.app_context(): init_db() |
