Skip to content

Commit c44fde9

Browse files
committed
feat: more granularity in the result statuses
1 parent cd5d652 commit c44fde9

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

scim2_tester/utils.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,27 @@ def _matches_hierarchical_tags(func_tags: set[str], filter_tags: set[str]) -> bo
5656

5757
class Status(Enum):
5858
SUCCESS = auto()
59+
"""Server behavior strictly conforms to RFC requirements (MUST/MUST NOT)."""
60+
61+
COMPLIANT = auto()
62+
"""Server behavior follows RFC recommendations (SHOULD/SHOULD NOT) correctly."""
63+
64+
ACCEPTABLE = auto()
65+
"""Server behavior is RFC-compliant but uses optional features (MAY)
66+
or applies robustness principle reasonably."""
67+
68+
DEVIATION = auto()
69+
"""Server behavior deviates from RFC recommendations (SHOULD/SHOULD NOT)
70+
but remains within specification bounds."""
71+
5972
ERROR = auto()
73+
"""Server behavior violates mandatory RFC requirements (MUST/MUST NOT)."""
74+
75+
CRITICAL = auto()
76+
"""Server behavior creates security risks or fundamental protocol violations."""
77+
6078
SKIPPED = auto()
79+
"""Check was not executed due to filtering or prerequisites."""
6180

6281

6382
@dataclass

0 commit comments

Comments
 (0)