From 1a67e284d043818743ae9ef5a46b6b64a9db56f7 Mon Sep 17 00:00:00 2001 From: Dave Barker Date: Wed, 15 Jun 2016 02:25:48 +0100 Subject: [PATCH] Remove unnecessary werkzeug mock attribs from test --- tests/test_templating.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_templating.py b/tests/test_templating.py index e65fe834..aa3d7409 100644 --- a/tests/test_templating.py +++ b/tests/test_templating.py @@ -349,11 +349,9 @@ def test_templates_auto_reload(): def test_templates_auto_reload_debug_run(monkeypatch): # debug is None in config, config option is None, app.run(debug=True) - rv = {} - # Mocks werkzeug.serving.run_simple method def run_simple_mock(*args, **kwargs): - rv['passthrough_errors'] = kwargs.get('passthrough_errors') + pass app = flask.Flask(__name__) monkeypatch.setattr(werkzeug.serving, 'run_simple', run_simple_mock)