summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 480b79d1bb..16664f02fd 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -70,6 +70,9 @@ Nova Specific Commandments
- [N360] Yield must always be followed by a space when yielding a value.
- [N361] Check for usage of deprecated assertRegexpMatches and
assertNotRegexpMatches
+- [N362] Imports for privsep modules should be specific. Use "import nova.privsep.path",
+ not "from nova.privsep import path". This ensures callers know that the method they're
+ calling is using priviledge escalation.
Creating Unit Tests
-------------------