keystoneauth/HACKING.rst
Monty Taylor ea3bfb1beb
Migrate to stestr
ostestr has already updated to stestr. Update the files here to make
sure it works properly.

Change-Id: I172cbb158f728a74bcb976fa68b78c28589eaa0c
2017-09-20 15:47:15 -05:00

657 B

Keystone Style Commandments

Exceptions

When dealing with exceptions from underlying libraries, translate those exceptions to an instance or subclass of ClientException.

Testing

keystoneauth uses testtools and stestr for its unittest suite and its test runner. Basic workflow around our use of tox and stestr can be found at https://wiki.openstack.org/testr. If you'd like to learn more in depth:

https://testtools.readthedocs.io/en/latest/ https://stestr.readthedocs.io/en/latest/