From dc3d5adb6c0a8f404337ea8d702e69a3f85885f0 Mon Sep 17 00:00:00 2001 From: Abhishek Yadav Date: Fri, 18 Aug 2023 11:30:48 +0000 Subject: [PATCH] Fixed the signaure of the method _empty_render to be compatible with _render --- flask_testing/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_testing/utils.py b/flask_testing/utils.py index a28a823..eac9c01 100644 --- a/flask_testing/utils.py +++ b/flask_testing/utils.py @@ -88,7 +88,7 @@ class TestResponse(response_class, JsonResponseMixin): return TestResponse -def _empty_render(template, context, app): +def _empty_render(app, template, context): """ Used to monkey patch the render_template flask method when the render_templates property is set to False in the TestCase