MagicMock without doesn't mock __aenter__ and __aexit__ with a CoroutineMock #55. Currently, it is not possible to use MagicMock with asynchronous context ...
確定! 回上一頁