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:
parent
75f7a2f29e
commit
06a01e88e5
@ -65,6 +65,8 @@ Nova Specific Commandments
|
|||||||
- [N352] LOG.warn is deprecated. Enforce use of LOG.warning.
|
- [N352] LOG.warn is deprecated. Enforce use of LOG.warning.
|
||||||
- [N353] Validate that context objects is not passed in logging calls.
|
- [N353] Validate that context objects is not passed in logging calls.
|
||||||
- [N354] String interpolation should be delayed at 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
|
Creating Unit Tests
|
||||||
-------------------
|
-------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user