@pytest.fixture
def aioclient_mock():
 with mock_aiohttp_client() as mock_session:
  (yield mock_session)

@ pytest . fixture def aioclient_mock ( ) : with mock_aiohttp_client ( ) as mock_session : ( yield mock_session )
fixture to mock aioclient calls .