@pytest.mark.asyncio
async def test_redlock_release(self, mocker, redis):
    mocker.spy(redis, '_raw')
    (await redis._redlock_release(Keys.KEY, 'random'))
    redis._raw.assert_called_with('eval', redis.RELEASE_SCRIPT, [Keys.KEY], ['random'])
@pytest.mark.asyncio
async def test_redlock_release(self, mocker, redis):
    mocker.spy(redis, '_raw')
    (await redis._redlock_release(Keys.KEY, 'random'))
    redis._raw.assert_called_with('eval', redis.RELEASE_SCRIPT, [Keys.KEY], ['random'])