def get_json(client, path: str, expected_status_code: int = 200, **kwargs):
    """Call the get on the client with the given path.

    Assert that the status_code is ok.
    Then load the json response.

    Arguments:
        client {[type]} -- [description]
        path {[type]} -- [description]

    Returns:
        [type] -- [description]
    """
    response = client.get(path, **kwargs)
    print(f"response status code: {response.status_code}")
    assert response.status_code == expected_status_code
    return response.json()