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
This commit is contained in:
parent
dcd170f86d
commit
9aa54e68ef
|
@ -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
|
||||
-------------------
|
||||
|
|
Loading…
Reference in New Issue