chore: logs on assert fail for test_acl_cat_commands_multi_exec_squash (#3749)

* print result if assertion fails

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2024-09-23 09:51:58 +03:00 committed by GitHub
parent 29b18f0dcb
commit 15fce9df2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ async def test_acl_cat_commands_multi_exec_squash(df_factory):
# return multiple errors for each command failed. Since the nature of the error # return multiple errors for each command failed. Since the nature of the error
# is the same, that a rule has changed we should squash those error messages into # is the same, that a rule has changed we should squash those error messages into
# one. # one.
assert res[0].args[0] == "kk ACL rules changed between the MULTI and EXEC" assert res[0].args[0] == "kk ACL rules changed between the MULTI and EXEC", res
await admin_client.close() await admin_client.close()
await client.close() await client.close()