How to Solve NameError: name 'AsyncMock' is not defined -- rollbar
Solution: Import the 'AsyncMock' module
# Add the following line to the top of your code
from rollbar.lib._async import AsyncMock
For more information:
rollbar AsyncMock
# Add the following line to the top of your code
from rollbar.lib._async import AsyncMock
For more information:
rollbar AsyncMock