API Reference

Package for requests_mock_flask.

requests_mock_flask.add_flask_app_to_mock(mock_obj: Any, flask_app: flask.Flask, base_url: str) None

Make it so that requests sent to the base_url are forwarded to the Flask app, when in the context of the mock_obj.