From a9d5275bac96e55a4f5381b229163ff9f2770586 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 7 Nov 2023 23:07:56 +0100 Subject: 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. --- tests/playwright/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/playwright') 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()) -- cgit v1.2.3