summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2016-08-31 14:45:51 +0100
committerStephen Finucane <sfinucan@redhat.com>2016-10-12 11:14:33 +0100
commit09e2bcf3f5cbaa5dcfdc7678ad4a3da1c16d5780 (patch)
tree5dc81507b2158d56c427ae5c94e127b383e25322 /HACKING.rst
parent03b99378842c5448e85b636fe38f38406570e477 (diff)
downloadnova-09e2bcf3f5cbaa5dcfdc7678ad4a3da1c16d5780.tar.gz
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>
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 35e754d708..ed417c9b46 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -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
-------------------