summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorKen'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>2015-03-09 02:19:32 +0000
committerKen'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>2015-06-08 03:06:49 +0000
commit198a3bea231883251ef00596ddda625f33219efd (patch)
tree17e5f8166964edcc1d2b10e2bca3116a4786ea4d /HACKING.rst
parent735c45070e67a3c080bb706af6639106dfd16cb2 (diff)
downloadnova-198a3bea231883251ef00596ddda625f33219efd.tar.gz
Add a hacking rule for consistent HTTP501 message
There is raise_feature_not_supported() for returning a HTTP501 response with consistent error message, and this patch adds a rule for enforcing to use the method on v2.1 API. Partially implements blueprint v2-on-v3-api Change-Id: I06f254fd9c8d8b6aac4ed135c6c407f3a993431f
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 97cf0f9d03..42a0a4581d 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -50,6 +50,7 @@ Nova Specific Commandments
- [N338] Change assertEqual(A in B, True), assertEqual(True, A in B),
assertEqual(A in B, False) or assertEqual(False, A in B) to the more specific
assertIn/NotIn(A, B)
+- [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response.
Creating Unit Tests
-------------------