SDK-2760: Add mock module

This commit is contained in:
Romuald Juchnowicz-Bierbasz
2019-04-16 10:26:37 +02:00
parent f2e2e41d04
commit 7c4f3fba5b

5
galaxy/api/mock.py Normal file
View File

@@ -0,0 +1,5 @@
from unittest.mock import MagicMock
class AsyncMock(MagicMock):
async def __call__(self, *args, **kwargs):
return super(AsyncMock, self).__call__(*args, **kwargs)