# <no title>

Testing

The preferred way to run the unit tests is using `tox`. There are multiple test targets that can be run to validate the code.

`tox -e pep8`

  Style guidelines enforcement.

`tox -e py37`

  Traditional unit testing (Python 3.7).

`tox -e cover`

  Generate a coverage report on unit testing.

Functional testing assumes the existence of a clouds.yaml file as supported by os-client-config It assumes the existence of a cloud named devstack that behaves like a normal DevStack installation with a demo and an admin user/tenant - or clouds named functional_admin and functional_nonadmin.

Refer to Consistent Testing Interface for more details.

Refer to Tester Use for more details.

this page last updated: 2026-03-26 21:16:17

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug