
Functional Tests have not been known to not functional since Jan 2024 (https://review.opendev.org/c/openstack/python-ironicclient/+/430904) The last time they were run in CI before that was in late Aug 2023. (https://review.opendev.org/c/openstack/python-ironicclient/+/891560) This leaves a very large window for trying to figure out how they went wrong. They were made non-voting in Feb 2024 (https://review.opendev.org/c/openstack/python-ironicclient/+/908828), after which no real efforts were made to fix them. This patch removes them entirely. For reference, the error as of Nov 1st 2024 when trying to run them is to do with auth. "AttributeError: 'BaremetalXXXXTests' object has no attribute 'auth_ref'" Change-Id: I50e8dbcef02ccad03c383a70618d8228db47b876
38 lines
937 B
ReStructuredText
38 lines
937 B
ReStructuredText
.. _testing:
|
|
|
|
=======
|
|
Testing
|
|
=======
|
|
|
|
Python Guideline Enforcement
|
|
............................
|
|
|
|
All code has to pass the pep8 style guideline to merge into OpenStack, to
|
|
validate the code against these guidelines you can run::
|
|
|
|
$ tox -e pep8
|
|
|
|
Unit Testing
|
|
............
|
|
|
|
It is strongly encouraged to run the unit tests locally under one or more
|
|
test environments prior to submitting a patch. To run all the recommended
|
|
environments sequentially and pep8 style guideline run::
|
|
|
|
$ tox
|
|
|
|
You can also selectively pick specific test environments by listing your
|
|
chosen environments after a -e flag::
|
|
|
|
$ tox -e py3,pep8
|
|
|
|
.. note::
|
|
Tox sets up virtual environment and installs all necessary dependencies.
|
|
Sharing the environment with devstack testing is not recommended due to
|
|
conflicting configuration with system dependencies.
|
|
|
|
Functional Testing
|
|
..................
|
|
|
|
Functional tests have been removed as of November 2024.
|