def elevation(client, locations):
    params = {"locations": convert.shortest_path(locations)}
    return client._get("/maps/api/elevation/json", params)["results"]
Test Model order on lists
dataset/ETHPy150Open googlemaps/google-maps-services-python/googlemaps/elevation.py/elevation--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/tests/test_base.py/FlaskTestCase.test_model_list_order