
OpenStack is dropping the py2.7 support in ussuri cycle. python-freezerclient is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: Id0901d32660b9b643d3d2eb35e77627dfca6b944
918 B
918 B
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.