diff options
| author | Tom Harley | 2021-07-09 15:16:54 +0000 |
|---|---|---|
| committer | Tom Harley | 2021-07-09 15:16:54 +0000 |
| commit | 57e7488149ee093e34774d83ffe161fb305a7dde (patch) | |
| tree | ed922a052cd8eb6fc5b77c21970cb0d0b02b9cb3 /tests/conftest.py | |
| parent | Add testing for authorisation decorators (diff) | |
| download | swap-57e7488149ee093e34774d83ffe161fb305a7dde.tar.gz swap-57e7488149ee093e34774d83ffe161fb305a7dde.zip | |
Add basic inbox/outbox functionality
Lots of added TODOs, and very little test coverage for the new functions.
Next step is to get 100% coverage of what we have so far.
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() |
