about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-05-21 16:22:42 -0500
committerFrederick Muriuki Muriithi2026-05-21 16:22:42 -0500
commitdbcf3716297077d589b43d1cf01b700601d6ac7c (patch)
treecf535555052f571b2f94fd71438c8725446d3a31 /tests
parentd50c224bd95cb11ea462f99c339bd68a2d601538 (diff)
downloadgn-auth-dbcf3716297077d589b43d1cf01b700601d6ac7c.tar.gz
Override all settings with the startup settings before doing checks.
The startup checks should be used sparingly, if at all, and they
override every other setting.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py
index c6abc65..53ee062 100644
--- a/tests/unit/conftest.py
+++ b/tests/unit/conftest.py
@@ -30,8 +30,7 @@ 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.config.update({
+        app = create_app({
             "TESTING": True,
             "AUTH_DB": testdb,
             "GN_AUTH_SECRETS": str(setup_secrets(testdir)),