#NEWLINE# def test_render_json_template_require_float_min_constraint_raises( tmpdir ) : #NEWLINE# #INDENT# ( template_path , template_name ) = _write_template_to_disk ( tmpdir , 'template.json' , '{"muffin_count": {{ MUFFIN_COUNT|require_float(min=50) }}}' ) #NEWLINE# with pytest . raises ( FloatTooSmall ) : #NEWLINE# #INDENT# render_json_template ( template_path , template_name , ** { #NEWLINE# #INDENT# 'MUFFIN_COUNT' : '40' , #NEWLINE# #UNINDENT# } )