def verify(output, template, data): print("%s with %s" % (template, data)) result = render(template, data) result_iter = ''.join(Stache().render_iter(template, data)) print("Output: %s\n" % output) print("Result: %s\n" % result) assert result == output assert result == result_iter
def bare(output, template, data): return render(template, data)