Skip to content
Myr

Remove unnecessary werkzeug mock attribs from test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dave Barker · committed by Dave Barker · parent 24289e9 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • tests:+1 added−3 removed

1 file+1 added−3 removed

modified:tests/test_templating.py+1 added-3 removed
347 unmodified lines
348 assert app.jinja_env.auto_reload is True349350def test_templates_auto_reload_debug_run(monkeypatch):351 # debug is None in config, config option is None, app.run(debug=True)352 rv = {}353352 # Mocks werkzeug.serving.run_simple method353 def run_simple_mock(*args, **kwargs):356 rv['passthrough_errors'] = kwargs.get('passthrough_errors')354 pass355356 app = flask.Flask(__name__)357 monkeypatch.setattr(werkzeug.serving, 'run_simple', run_simple_mock)358
49 unmodified lines