Skip to content

Commit afd12bd

Browse files
committed
fix python test
Signed-off-by: Lior Sventitzky <[email protected]>
1 parent cb83aad commit afd12bd

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

python/python/tests/test_auth.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,7 @@ async def test_update_connection_password_connection_lost_before_password_update
285285
management_client, USERNAME, NEW_PASSWORD
286286
)
287287

288-
result = await acl_glide_client.update_connection_password(
289-
NEW_PASSWORD, immediate_auth=False
290-
)
291-
292-
assert result == OK
293-
294-
# ensure client disconnection and password update
288+
# ensure client disconnection
295289
await asyncio.sleep(2)
296290

297291
with pytest.raises(RequestError):
@@ -317,6 +311,10 @@ async def test_update_connection_password_replace_password_immediateAuth_acl_use
317311

318312
assert result == OK
319313

314+
assert await acl_glide_client.set("test_key", "test_value") == OK
315+
value = await acl_glide_client.get("test_key")
316+
assert value == b"test_value"
317+
320318
@pytest.mark.parametrize("cluster_mode", [True, False])
321319
@pytest.mark.parametrize("protocol", [ProtocolVersion.RESP2, ProtocolVersion.RESP3])
322320
async def test_update_connection_password_auth_non_valid_pass_acl_user(

0 commit comments

Comments
 (0)