diff --git a/tests/templates/escaping_template.svg b/tests/templates/escaping_template.svg deleted file mode 100644 index 514d2972..00000000 --- a/tests/templates/escaping_template.svg +++ /dev/null @@ -1 +0,0 @@ -{{ text }} diff --git a/tests/test_templating.py b/tests/test_templating.py index 890098ce..863417c0 100644 --- a/tests/test_templating.py +++ b/tests/test_templating.py @@ -114,18 +114,6 @@ def test_escaping_without_template_filename(app, client, req_ctx): assert flask.render_template("mail.txt", foo="") == " Mail" -def test_escaping_svg(app, client): - @app.route("/") - def index(): - return flask.render_template("escaping_template.svg", text="") - - rv = client.get("/") - assert ( - rv.data - == b"<test>" - ) - - def test_macros(app, req_ctx): macro = flask.get_template_attribute("_macro.html", "hello") assert macro("World") == "Hello World!"