summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-01-13 15:23:11 +0000
committerGerrit Code Review <review@openstack.org>2015-01-13 15:23:11 +0000
commitefe19fab907f99636d7c036e21ed8d76e8fe7d8f (patch)
treebb7d9b119fc776be9148d7fa24e01c88cda82116 /HACKING.rst
parentc8bf2ea47a945116397123e0c9f34cf02a524cfc (diff)
parentb6d30549c67e113a72302164af71966a9ebace22 (diff)
downloadnova-efe19fab907f99636d7c036e21ed8d76e8fe7d8f.tar.gz
Merge "Added hacking rule for assertTrue/False(A in B)"
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 7bcebcde04..67cd952185 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -44,6 +44,8 @@ Nova Specific Commandments
- [N331] Change LOG.warn on LOG.warning.
- [N332] Check that the api_version decorator is the first decorator on a method
- [N333] Check for oslo library imports use the non-namespaced packages
+- [N334] Change assertTrue/False(A in/not in B, message) to the more specific
+ assertIn/NotIn(A, B, message)
Creating Unit Tests
-------------------