async def test_async_get(async_mocker):
    url = 'https://localhost'
    kwargs = {
        'arg1': 'val1',
    }
    c = AsyncConnectClient('API_KEY', use_specs=False)
    mocked = async_mocker.AsyncMock()
    c.execute = mocked
    await c.get(url, **kwargs)
    mocked.assert_awaited_once_with('get', url, **kwargs)
async def test_update(async_mocker, attr):
    mocked = async_mocker.AsyncMock()
    url = 'https://localhost'
    kwargs = {
        'arg1': 'val1',
    }
    kwargs[attr] = {'k1': 'v1'}

    c = AsyncConnectClient('API_KEY', use_specs=False)
    c.execute = mocked

    await c.update(url, **kwargs)

    mocked.assert_awaited_once_with('put', url, **{
        'arg1': 'val1',
        'json': {
            'k1': 'v1',
        },
    })