writing test for redis.asyncio using fakeredis
I want to test the functionality of action_base_result using fakeredis-py to create tests without a real Redis server. and don't want to add a third parameter to action_base_result: import redis.asyncio as redis import json import copy redis_pool = None async…