The tests in ceilometer_tests.py for fetching the meter list,
alarm list, sample list, statistic list and the resource list
are incomplete.It verifies the API call, but the API could fail
completely and an empty list would still pass the assertion.
This patch fixes it.
Reviewed: https:/ /review. openstack. org/271129 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=b6b685ab985 5951cbc123cd441 10244ca2ff7d20
Committed: https:/
Submitter: Jenkins
Branch: master
commit b6b685ab9855951 cbc123cd4411024 4ca2ff7d20
Author: sanjana <email address hidden>
Date: Thu Jan 21 15:45:57 2016 +0530
Fixing test cases
The tests in ceilometer_tests.py for fetching the meter list,
alarm list, sample list, statistic list and the resource list
are incomplete.It verifies the API call, but the API could fail
completely and an empty list would still pass the assertion.
This patch fixes it.
Change-Id: I532992a9a7ad15 0c83e7f18721d88 5721070b029 bug:#1536470
Closes-