diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-01-13 15:23:11 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-01-13 15:23:11 +0000 |
commit | efe19fab907f99636d7c036e21ed8d76e8fe7d8f (patch) | |
tree | bb7d9b119fc776be9148d7fa24e01c88cda82116 /HACKING.rst | |
parent | c8bf2ea47a945116397123e0c9f34cf02a524cfc (diff) | |
parent | b6d30549c67e113a72302164af71966a9ebace22 (diff) | |
download | nova-efe19fab907f99636d7c036e21ed8d76e8fe7d8f.tar.gz |
Merge "Added hacking rule for assertTrue/False(A in B)"
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 2 |
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 ------------------- |