hacking: Use assertIs(Not), assert(True|False)

This is per the OpenStack style guidelines.

Change-Id: Iec102872e2d5b004255ce897cc22c4d1a41c6f9e
Co-authored-by: Gabor Antal <antal@inf.u-szeged.hu>
This commit is contained in:
Stephen Finucane 2016-08-31 14:45:51 +01:00
parent 75f7a2f29e
commit 06a01e88e5

View File

@ -65,6 +65,8 @@ Nova Specific Commandments
- [N352] LOG.warn is deprecated. Enforce use of LOG.warning.
- [N353] Validate that context objects is not passed in logging calls.
- [N354] String interpolation should be delayed at logging calls.
- [N355] Enforce use of assertTrue/assertFalse
- [N356] Enforce use of assertIs/assertIsNot
Creating Unit Tests
-------------------