mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-12 21:56:21 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
3a33e9d5f0
commit
fde90cd413
1 file changed
+3
-1
@@ -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]"])
|
||||
|
||||
Reference in new issue
Block a user