cloudkitty/cloudkitty/tests/api/v2/dataframes
Rafael Weingärtner 885c9f077f Fix tests cases broken by flask >=2.0.1
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
2021-06-07 18:19:32 +02:00
..
__init__.py Fix filtering on dataframe endpoints 2019-10-22 14:20:24 +02:00
test_dataframes.py Fix tests cases broken by flask >=2.0.1 2021-06-07 18:19:32 +02:00