4ceb427d4f
As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886296 Bump the pyflakes to 2.1.1 as min version to run pep8 jobs on py3.8 which is default python vesion in ubuntu focal. Story: #2007865 Task: #40180 Closes-Bug: #1886296 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html Change-Id: I5628be1786bc098232db44d0b74b1b2d0b828bbd |
||
---|---|---|
cloudkitty_tempest_plugin | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
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