def METHOD_NAME():
    with open("template", "w", encoding="utf-8") as template_file:
        template_file.write(
            "FILENAME\n"
            + "F1 {{parameters.key1.subkey1}}\n"
            + "F2 {{other.key1.subkey1}}"
        )
    with open("parameters.json", "w", encoding="utf-8") as json_file:
        json_file.write(json.dumps(default_parameters))
    with open("other.json", "w", encoding="utf-8") as json_file:
        parameters = {
            "key1": {
                "subkey1": 200,
            }
        }
        json_file.write(json.dumps(parameters))
    params = (
        " --output_file out_file "
        "--template_file template "
        "--input_files other.json"
    )
    ert_shared_loader = cast("FileLoader", pkgutil.get_loader("ert.shared"))
    template_render_exec = (
        dirname(ert_shared_loader.get_filename())
        + "/share/ert/forward-models/templating/script/template_render.py"
    )
    subprocess.call(template_render_exec + params, shell=True, stdout=subprocess.PIPE)
    with open("out_file", "r", encoding="utf-8") as parameter_file:
        expected_output = "FILENAME\n" + "F1 1999.22\n" + "F2 200"
        assert parameter_file.read() == expected_output