Commit Graph

4 Commits

Author SHA1 Message Date
Chris PeBenito
0856100fcb tests/util: Refactor validate_rule() to handle role allows.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-19 14:54:13 -04:00
Chris PeBenito
c958e67544 tests/library: Move validate_rule to a regular function.
Now that unit tests use pytest, validate_rule no longer needs to use "self"
to do assertions. It no longer needs to be a mixin.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-19 13:42:20 -04:00
Chris PeBenito
299ef1447a TestRBACRuleQuery: Update tests to pytest fixtures.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-19 13:41:39 -04:00
Chris PeBenito
83441614b7 Move library tests to a new subdirectory.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-04 16:30:31 -04:00