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:
Andrew Laski 2016-07-01 11:30:58 -04:00
parent dcd170f86d
commit 9aa54e68ef
1 changed files with 1 additions and 0 deletions

View File

@ -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
-------------------