def METHOD_NAME(self, app):
    # test-core.ini sets ckan.template_footer_end to this:
    test_html = "<strong>TEST TEMPLATE_FOOTER_END TEST</strong>"
    response = app.get(url_for("home.index"))
    assert test_html in response.body