""" build_field_model() against the real render_field macro, for every schema. The field model (src/plugin_system/field_model.py) is meant to replace the 1,100-line ``render_field`` macro in plugin_config.html as the one description of a plugin's config form. Before anything renders from it, it has to be complete: for each schema, the model must name exactly the form controls the macro draws today, with the same starting values, and the same JS widgets with the same names and values. This test renders the macro (the real template, through a Flask Jinja environment so ``tojson`` behaves as in the app) and parses the form: * every named control inside the
: (name, control, submitted text, checked) in document order. A