From dbcf3716297077d589b43d1cf01b700601d6ac7c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 21 May 2026 16:22:42 -0500 Subject: 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. --- tests/unit/conftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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)), -- cgit 1.4.1