summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorAndrew Laski <andrew@lascii.com>2016-07-01 11:30:58 -0400
committerAndrew Laski <andrew@lascii.com>2016-07-01 13:54:36 -0400
commitf8f83b4751f5671cbb8cdddb9a7a7230d6cb916d (patch)
treebaa210844f681c80c680ff6d8efaa511f4f460a2 /HACKING.rst
parent809289cfe5b2520f27fc5e990ceab7f8fc0458cd (diff)
downloadnova-f8f83b4751f5671cbb8cdddb9a7a7230d6cb916d.tar.gz
Hacking check for policy registration
Ensure that policy registration happens in the centralized nova/policies/ directory. There is an exception for the test_policy unit tests because some of them register rules for testing. Change-Id: Ia51eeb09eff86f82528b27bdc11a71762dfaed1a Partially-Implements: bp policy-in-code
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 4898451f36..632e9ad0e0 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -60,6 +60,7 @@ Nova Specific Commandments
- [N347] Provide enough help text for config options
- [N348] Deprecated library function os.popen()
- [N349] Check for closures in tests which are not used
+- [N350] Policy registration should be in the central location ``nova/policies/``
Creating Unit Tests
-------------------