2013-11-11 11:04:05 -08:00
|
|
|
Keystone Style Commandments
|
|
|
|
===========================
|
|
|
|
|
|
|
|
- Step 1: Read the OpenStack Style Commandments
|
2017-07-14 09:23:53 +08:00
|
|
|
https://docs.openstack.org/hacking/latest/
|
2013-11-11 11:04:05 -08:00
|
|
|
- Step 2: Read on
|
|
|
|
|
|
|
|
Exceptions
|
|
|
|
----------
|
|
|
|
|
|
|
|
When dealing with exceptions from underlying libraries, translate those
|
|
|
|
exceptions to an instance or subclass of ClientException.
|
|
|
|
|
|
|
|
=======
|
|
|
|
Testing
|
|
|
|
=======
|
|
|
|
|
2017-09-20 15:46:45 -05:00
|
|
|
keystoneauth uses testtools and stestr for its unittest suite
|
|
|
|
and its test runner. Basic workflow around our use of tox and stestr can
|
2017-02-05 20:40:01 -08:00
|
|
|
be found at https://wiki.openstack.org/testr. If you'd like to learn more
|
2013-11-11 11:04:05 -08:00
|
|
|
in depth:
|
|
|
|
|
2017-09-20 15:46:45 -05:00
|
|
|
https://testtools.readthedocs.io/en/latest/
|
|
|
|
https://stestr.readthedocs.io/en/latest/
|