Validate levels in controls#11427
Conversation
Mab879
left a comment
There was a problem hiding this comment.
LGTM, but please rewrite to that it works on Python 2.7 on CentOS 7.
727ec2c to
990ea4d
Compare
in case there are no levels defined, insert there a default level
This function checks if all levels defined for individual controls are defined for the policy.
990ea4d to
07687e7
Compare
|
Code Climate has analyzed commit 07687e7 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 58.5% (0.1% change). View more on Code Climate. |
|
/packit retest |
|
/packit retest-failed |
|
/packit rebuild-failed |
1 similar comment
|
/packit rebuild-failed |
|
/packit retest-failed |
|
@Mab879 I think I fixed everything I could. I consider extracting code from controls.py to satisfy the requirement on number of lines as out of scope. |
Agreed. Thanks for the work. Reviewing. |
Description:
Rationale:
Inspired while verifying #11417
Review Hints: