Beispiel #1
0
def get_infographic_data():
    app = flask_app.test_client()
    inserted_id = insert_infographic_mock_data(app)

    rv = app.get(f"/api/infographics-data?news_flash_id={inserted_id}")

    delete_new_infographic_data(inserted_id)

    return rv.get_json()
Beispiel #2
0
def app():
    return flask_app.test_client()
Beispiel #3
0
def app():
    return flask_app.test_client()