From fde90cd413acceaa3727c43a1ae8b0f8b9e306c2 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 8 Oct 2026 20:05:22 +0200 Subject: [PATCH] style(tests): wrap the redis session path call the merge brought in Autoformat output on the test PR #881 added: the redis_session_path call exceeded the line width, so its arguments move onto their own line. The token sequence is unchanged, so the assertion still proves what it did before, that a password carrying &, =, ?, # and a space survives the connection URL intact instead of splitting it into extra parameters. Co-Authored-By: Claude Opus 5 (1M context) --- .../python/plugins/lookup/test_engine_redis_session_path.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/python/plugins/lookup/test_engine_redis_session_path.py b/tests/unit/python/plugins/lookup/test_engine_redis_session_path.py index 0b8dba098e..d7576f2d90 100644 --- a/tests/unit/python/plugins/lookup/test_engine_redis_session_path.py +++ b/tests/unit/python/plugins/lookup/test_engine_redis_session_path.py @@ -33,7 +33,9 @@ class TestRedisSessionPath(unittest.TestCase): password = "a&b=c?d#e/f+g h" query = parse_qs( urlsplit( - redis_session_path("redis-central", 6379, "suitecrm", "default", password) + redis_session_path( + "redis-central", 6379, "suitecrm", "default", password + ) ).query ) self.assertEqual([password], query["auth[pass]"])