eladkal commented on code in PR #28953:
URL: https://github.com/apache/airflow/pull/28953#discussion_r1114657947
##########
tests/providers/telegram/hooks/test_telegram.py:
##########
@@ -30,6 +30,10 @@
TELEGRAM_TOKEN = "dummy token"
+class AsyncMock(mock.MagicMock):
+ async def __call__(self, *args, **kwargs):
+ return super(AsyncMock, self).__call__(*args, **kwargs)
+
class TestTelegramHook:
Review Comment:
```suggestion
async def __call__(self, *args, **kwargs):
return super(AsyncMock, self).__call__(*args, **kwargs)
class TestTelegramHook:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]