Ejemplo n.º 1
0
def test_json_files(client):
    from app.controllers import json_handler

    for json_name in JSON_FILES:
        json_payload = json_handler.get(json_name)

        assert json_payload is not None
Ejemplo n.º 2
0
def constant_WO_cpi_index():
    return render_template(
        "home.html",
        data_set=json_handler.get("constant_WO_cpi_index"),
        filter_form="interest",
    )
Ejemplo n.º 3
0
def variable_W_cpi_index():
    return render_template(
        "home.html",
        data_set=json_handler.get("variable_W_cpi_index"),
        filter_form="interest",
    )
Ejemplo n.º 4
0
def eligibility():
    return render_template("home.html",
                           data_set=json_handler.get("eligibility"),
                           filter_form="interest")
def InterestFile_Prime():
    return render_template(
        "home.html",
        data_set=json_handler.get("InterestFile_Prime"),
        filter_form="economic_expectations_line",
    )
def InterestFile_Variable_WO_CPI():
    return render_template(
        "home.html",
        data_set=json_handler.get("InterestFile_Variable_WO_CPI"),
        filter_form="economic_expectations_bar",
    )