Use valid names and factorize some constants checks
- reduce complexity - use better tools to format the code - add more tests - and too many things to list here We are rewriting for V3, so these commits are sometimes big and not fully detailed. Of course, further work will be more documented.
Signed-off-by: Patrice Ferlet <metal3d@gmail.com>
And moved a test from deployment_test that was not the right place to be created.