aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-11-07 23:07:56 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-11-07 23:07:56 +0100
commita9d5275bac96e55a4f5381b229163ff9f2770586 (patch)
tree34a45042a3dbae00fcdaac94b6c4d3e9a7cb2f46 /tests
parentfcb0f5cd199e68fff502943e048db2d0ac93503a (diff)
downloadfietsboek-a9d5275bac96e55a4f5381b229163ff9f2770586.tar.gz
fietsboek-a9d5275bac96e55a4f5381b229163ff9f2770586.tar.bz2
fietsboek-a9d5275bac96e55a4f5381b229163ff9f2770586.zip
update dependencies
The most "painful" one was Pydantic V2, not because it didn't work, but because I wanted to do it right and not use the deprecated methods.
Diffstat (limited to 'tests')
-rw-r--r--tests/playwright/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py
index aefe1ee..12a0047 100644
--- a/tests/playwright/conftest.py
+++ b/tests/playwright/conftest.py
@@ -90,7 +90,7 @@ class Helper:
"""Logs the given user in by setting the auth cookie."""
if user is None:
user = self.john_doe()
- config = Config.construct(session_key=self.app_settings["session_key"])
+ config = Config.model_construct(session_key=self.app_settings["session_key"])
secret = config.derive_secret("auth-cookie")
helper = AuthTktCookieHelper(secret)
headers = helper.remember(DummyRequest(), user.authenticated_user_id())