diff options
| author | Frederick Muriuki Muriithi | 2026-05-21 16:22:42 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-05-21 16:22:42 -0500 |
| commit | dbcf3716297077d589b43d1cf01b700601d6ac7c (patch) | |
| tree | cf535555052f571b2f94fd71438c8725446d3a31 /tests/unit | |
| parent | d50c224bd95cb11ea462f99c339bd68a2d601538 (diff) | |
| download | gn-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/unit')
| -rw-r--r-- | tests/unit/conftest.py | 3 |
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)), |
