MCPcopy
hub / github.com/redis/redis-py / test_acl_genpass

Method test_acl_genpass

tests/test_asyncio/test_commands.py:206–208  ·  view source on GitHub ↗
(self, r: redis.Redis)

Source from the content-addressed store, hash-verified

204
205 @skip_if_server_version_lt(REDIS_6_VERSION)
206 async def test_acl_genpass(self, r: redis.Redis):
207 password = await r.acl_genpass()
208 assert isinstance(password, (str, bytes))
209
210 @skip_if_server_version_lt("7.0.0")
211 async def test_acl_getuser_setuser(self, r_teardown):

Callers

nothing calls this directly

Calls 1

acl_genpassMethod · 0.80

Tested by

no test coverage detected