Skip to content

Commit b249820

Browse files
committed
minor
1 parent dc78c66 commit b249820

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

services/web/server/tests/unit/with_dbs/01/test_resource_manager_user_sessions.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,17 @@ async def test_redis_registry_hashes(
102102
# pylint: disable=protected-access
103103
assert RedisResourceRegistry._hash_key(key) == hash_key # noqa: SLF001
104104
assert (
105-
RedisResourceRegistry._decode_hash_key(f"{hash_key}:{_RESOURCE_SUFFIX}")
106-
== key # noqa: SLF001
105+
RedisResourceRegistry._decode_hash_key( # noqa: SLF001
106+
f"{hash_key}:{_RESOURCE_SUFFIX}"
107+
)
108+
== key
107109
)
108110
assert (
109-
RedisResourceRegistry._decode_hash_key(f"{hash_key}:{_ALIVE_SUFFIX}") == key
110-
) # noqa: SLF001
111+
RedisResourceRegistry._decode_hash_key( # noqa: SLF001
112+
f"{hash_key}:{_ALIVE_SUFFIX}"
113+
)
114+
== key
115+
)
111116

112117

113118
async def test_redis_registry(redis_registry: RedisResourceRegistry):

0 commit comments

Comments
 (0)