API Reference¶
Package for requests_mock_flask.
- requests_mock_flask.add_flask_app_to_mock(mock_obj: _MockObjType, flask_app: flask.Flask, base_url: str) None¶
Make it so that requests sent to the
base_urlare forwarded to theFlaskapp, when in the context of themock_obj.