cloudkitty/cloudkitty
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
..
api Fix tests cases broken by flask >=2.0.1 2021-06-07 18:19:32 +02:00
backend Remove six 2021-01-12 09:02:22 +08:00
cli [goal] Deprecate the JSON formatted policy file 2020-12-22 18:49:31 -06:00
collector Add the NOTNUMBOOL mutator 2021-03-09 17:19:41 +01:00
common Fix typo in policy rule description 2021-04-07 15:03:52 +02:00
db Remove six 2021-01-12 09:02:22 +08:00
fetcher Remove six 2021-01-12 09:02:22 +08:00
hacking Remove six 2021-01-12 09:02:22 +08:00
rating Merge "Remove six" 2021-02-22 15:54:20 +00:00
storage Remove six 2021-01-12 09:02:22 +08:00
storage_state Merge "Remove six" 2021-02-22 15:54:20 +00:00
tests Fix tests cases broken by flask >=2.0.1 2021-06-07 18:19:32 +02:00
utils Add the NOTNUMBOOL mutator 2021-03-09 17:19:41 +01:00
writer Remove six 2021-01-12 09:02:22 +08:00
__init__.py Removed version information from setup.cfg 2015-10-19 17:27:02 +02:00
config.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
dataframe.py Introduce cloudkitty.utils 2019-11-25 16:55:02 +01:00
extension_manager.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
i18n.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
messaging.py Make cloudkitty-processor run several workers 2019-04-15 12:45:38 +00:00
orchestrator.py Log the number of tenants loaded by the fetcher 2020-09-21 15:33:56 +01:00
service.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
state.py Introduce cloudkitty.utils 2019-11-25 16:55:02 +01:00
version.py Improve the rpc module 2016-08-24 15:20:13 +00:00
write_orchestrator.py Removing author identification in all files 2019-07-22 12:21:54 +00:00