hacking: Use uuidutils or uuidsentinel to generate UUID
Added hacking check to ensure that UUID is being generated from oslo_utils.uuidutils or uuidsentinel(in case of test cases) instead of uuid4(). Change-Id: I73ee63fbd4f451d3aa5dc1a2a734d68c308b4440
This commit is contained in:
parent
48aa351051
commit
213b29a070
@ -67,6 +67,8 @@ Nova Specific Commandments
|
|||||||
- [N354] String interpolation should be delayed at logging calls.
|
- [N354] String interpolation should be delayed at logging calls.
|
||||||
- [N355] Enforce use of assertTrue/assertFalse
|
- [N355] Enforce use of assertTrue/assertFalse
|
||||||
- [N356] Enforce use of assertIs/assertIsNot
|
- [N356] Enforce use of assertIs/assertIsNot
|
||||||
|
- [N357] Use oslo_utils.uuidutils or uuidsentinel(in case of test cases) to
|
||||||
|
generate UUID instead of uuid4().
|
||||||
|
|
||||||
Creating Unit Tests
|
Creating Unit Tests
|
||||||
-------------------
|
-------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user