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
def constant_WO_cpi_index(): return render_template( "home.html", data_set=json_handler.get("constant_WO_cpi_index"), filter_form="interest", )
def variable_W_cpi_index(): return render_template( "home.html", data_set=json_handler.get("variable_W_cpi_index"), filter_form="interest", )
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", )