885c9f077f
Flask has been updated in the requirements projects from OpenStack [1]. This has broken some test cases that were mocking the root object "flask.request". Instead of mocking the root object, we address the issue by mocking only the needed methods and attributes. This facilitates the understanding of the unit test, and also helps people to pin-point problems right away. [1] https://review.opendev.org/c/openstack/requirements/+/793023 Change-Id: I8703c7d3e69f35ef3e85234c27b4743242111f3d |
||
---|---|---|
.. | ||
v1 | ||
v2 | ||
__init__.py | ||
app.py | ||
app.wsgi | ||
middleware.py | ||
root.py |