The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases
Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.
Change-Id: I4e99cd5d58b676f300eddcff673c26d4769e5af7
Closes-Bug: #1218185
Some of tests use different method of
assertTrue(isinstance(A, B)) or assertEqual(type(A), B).
The correct way is to use assertIsInstance(A, B) provided
by testtools
Change-Id: I6bb51ecec188847f67b579694bd47bf7599bfbd6
Wrong source for Fuel version was used in the OSWL report.
We used the version of Fuel installed on master node, instead of
cluster version. Thus in case of upgrade master node we had
different fuel versions in the clusters and OSWL reports for
the same master node uid.
Now we are using Fuel version from OSWL.version_info or from
the cluster data. Fuel version from cluster is used also in the
plugins report.
Change-Id: I114beae261686fb6e4d77504dd102b722a43e611
Closes-Bug: #1547565
Mocking of werkzeug request args raises error on exiting from
'with' block and was removed from analytics tests.
Issues in tests caused by unbound to session SQLAlchemy objects
inside test request were fixed.
Extracting of dict params from HTTP GET request fixed.
Change-Id: I7215247909a8fcd2e4c74b915670ff373538b186
Closes-Bug: #1514337
We should generate CSV reports in case of errors in the flatten
data processing. Invalid data is skipped.
Change-Id: I22ea7cb4f22024329f3bf55fd855e04b8f4f285d
Closes-Bug: #1440080
Plugins info can't be added into clusters report due to
plugins are stored as list in the cluster, so additional
report is required.
Plugins report is available by url: /api/v1/csv/plugins
Change-Id: Ia19d4578cb836438573dd1a494b54d1772f61b5d
Closes-Bug: #1431362