From e17553e185aa6054b229524ac04a2743fe8c6fa9 Mon Sep 17 00:00:00 2001 From: Rishabh Arya Date: Thu, 18 Feb 2021 19:48:14 +0530 Subject: Parse ui_auth.session_timeout as a duration (instead of treating it as ms) (#9426) --- tests/rest/client/v2_alpha/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/rest/client/v2_alpha/test_auth.py b/tests/rest/client/v2_alpha/test_auth.py index 501f09203f..c26ad824f7 100644 --- a/tests/rest/client/v2_alpha/test_auth.py +++ b/tests/rest/client/v2_alpha/test_auth.py @@ -343,7 +343,7 @@ class UIAuthTests(unittest.HomeserverTestCase): }, ) - @unittest.override_config({"ui_auth": {"session_timeout": 5 * 1000}}) + @unittest.override_config({"ui_auth": {"session_timeout": "5s"}}) def test_can_reuse_session(self): """ The session can be reused if configured. -- cgit 1.4.1