diff options
author | Gary Kotton <gkotton@vmware.com> | 2014-06-02 22:12:56 -0700 |
---|---|---|
committer | Gary Kotton <gkotton@vmware.com> | 2014-06-02 22:12:56 -0700 |
commit | 5d7ac6a92853992eb4f6a68b70196bdd540a4c60 (patch) | |
tree | 7dbc4f9cd93b6e5f9fb34e289109365fbcdc7a74 /HACKING.rst | |
parent | 1fc7170b0f82c24e519c4a7e02d138638d3c41d1 (diff) | |
download | nova-5d7ac6a92853992eb4f6a68b70196bdd540a4c60.tar.gz |
Update HACKING.rst to include N320
Commit 9235ada8c2c250603dc5b299cc08bb7a982d4fc6 did not add in
the updated hacking rule.
Change-Id: If2daf6d2e7008c36d0aba6270ac034522dcb2e2b
Closes-bug: #1325812
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 54a93e52e5..cbdee68822 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -31,6 +31,8 @@ Nova Specific Commandments - [N318] Change assertEqual(A, None) or assertEqual(None, A) by optimal assert like assertIsNone(A) - [N319] Validate that debug level logs are not translated. +- [N320] Setting CONF.* attributes directly in tests is forbidden. Use + self.flags(option=value) instead. Creating Unit Tests ------------------- |