
With the introduction of start and end dates in the rating rules, the update of rating rules for both mappings and pyscripts was disabled as well as the deletion. In the new versions the rating rules can be disabled instead of deleted so it is possible to track all changes in the rating rules. We are accepting both results for the tests, the old behavior and the new one. We had to do it to keep stable branches pipeline working, otherwise old stable versions pipeline would fail for this new validation. As soon as the support for release 2024.1 ends, we can remove the old versions validation and keep only the new one. Change-Id: Idf632f229e2bc2a52eb24c138477f1b70f7fe936 Depends-On: https://review.opendev.org/c/openstack/cloudkitty-tempest-plugin/+/925736 Signed-off-by: Pedro Henrique <phpm13@gmail.com>
Tempest integration of CloudKitty
This project defines a tempest plugin containing tests used to verify the functionality of a cloudkitty installation. The plugin will automatically load these tests into tempest.
Dependencies
This plugin tests the CloudKitty API. This supposes that the 'rating' role exists in your OpenStack installation.
Developers
For more information on cloudkitty, refer to: https://docs.openstack.org/cloudkitty/latest/
For more information on tempest plugins, refer to: https://docs.openstack.org/tempest/latest/#using-plugins
Bugs
Please report bugs to: https://storyboard.openstack.org/#!/project/890
Installing
Clone this repository and call from the repo:
$ pip install -e .
Running the tests
To run all the tests from this plugin, call from the tempest repo:
$ cd <Tempest Directory>
$ tox -e all -- cloudkitty_tempest_plugin
To run a single test case, call with full path, for example:
$ cd <Tempest Directory>
$ tox -e all -- cloudkitty_tempest_plugin.tests.api.test_cloudkitty_api.CloudkittyAdminAPITest.test_get_collector_mappings
To retrieve a list of all tempest tests, run:
$ cd <Tempest Directory>
$ testr list-tests