python-keystoneclient/HACKING.rst

654 B

Keystone Style Commandments

Exceptions

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

Testing

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

https://testtools.readthedocs.org/ https://testrepository.readthedocs.org/