diff options
author | Daniel Schadt <kingdread@gmx.de> | 2025-06-12 20:28:37 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2025-06-12 20:28:37 +0200 |
commit | abba548d84fa66bd7ac81683d3a70611cd6a8a3b (patch) | |
tree | 9343994c998cc84970a92510626b3a62e3fa46d9 /tests/playwright/conftest.py | |
parent | cf25779d218a4ace062f3c0549c0f2901a0c2d6a (diff) | |
parent | a52781d2e039ccf9f984e06a4ff3aa5e02caff8b (diff) | |
download | fietsboek-abba548d84fa66bd7ac81683d3a70611cd6a8a3b.tar.gz fietsboek-abba548d84fa66bd7ac81683d3a70611cd6a8a3b.tar.bz2 fietsboek-abba548d84fa66bd7ac81683d3a70611cd6a8a3b.zip |
Diffstat (limited to 'tests/playwright/conftest.py')
-rw-r--r-- | tests/playwright/conftest.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py index e914b01..adf5ef3 100644 --- a/tests/playwright/conftest.py +++ b/tests/playwright/conftest.py @@ -57,7 +57,11 @@ def dbaccess(app): through and the running WSGI app cannot read them. """ session_factory = app.registry["dbsession_factory"] - return session_factory() + factory = session_factory() + + yield factory + + factory.close() class Helper: |