about summary refs log tree commit diff
path: root/tests/unit/conftest.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-05-21 13:32:56 -0500
committerFrederick Muriuki Muriithi2026-05-21 13:32:56 -0500
commit6568edd6bf616a0c17c5226f40b494a6b2967dad (patch)
treeccb986a3cec72061f490a15a154b299e12a13101 /tests/unit/conftest.py
parentdaf8d4ec95bb5d4a7e0c108c023f64d6954d70df (diff)
downloadgn-auth-6568edd6bf616a0c17c5226f40b494a6b2967dad.tar.gz
Move migrations to top-level gn_auth package.
In preparation for migrating to pyproject.toml (from setup.py and
friends) we need to have only one top-level package. This will also
help in improving testing and checks down the line, since everything
will be relative to one single top-level directory.
Diffstat (limited to 'tests/unit/conftest.py')
-rw-r--r--tests/unit/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py
index 53ee062..c6abc65 100644
--- a/tests/unit/conftest.py
+++ b/tests/unit/conftest.py
@@ -30,7 +30,8 @@ def fxtr_app():
             f'testdb_{datetime.now().strftime("%Y%m%dT%H%M%S")}')
         testuploadsdir = Path(testdir).joinpath("uploads")
         testuploadsdir.mkdir()
-        app = create_app({
+        app = create_app()
+        app.config.update({
             "TESTING": True,
             "AUTH_DB": testdb,
             "GN_AUTH_SECRETS": str(setup_secrets(testdir)),