MCPcopy Create free account
hub / github.com/pallets/flask / run_simple_mock

Function run_simple_mock

tests/test_basic.py:1601–1602  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1599
1600 # Mocks werkzeug.serving.run_simple method
1601 def run_simple_mock(*args, **kwargs):
1602 rv["passthrough_errors"] = kwargs.get("passthrough_errors")
1603
1604 monkeypatch.setattr(werkzeug.serving, "run_simple", run_simple_mock)
1605 app.config["PROPAGATE_EXCEPTIONS"] = propagate_exceptions

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected