From 6568edd6bf616a0c17c5226f40b494a6b2967dad Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 21 May 2026 13:32:56 -0500 Subject: 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. --- tests/unit/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit/conftest.py') 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)), -- cgit 1.4.1