Mark Chang
Results
2
comments of
Mark Chang
you also can try this code below to mock cache. ```python # conftest.py from unittest import mock def mock_cache(*args, **kwargs): def wrapper(func): @wraps(func) async def inner(*args, **kwargs): return await func(*args,...
@tpthian sorry this is my mistake. remove parameter `mock_decorator` in `async def client`. i have edit my code snippet above.