summaryrefslogtreecommitdiffstats
path: root/test/TestRuleProperties.py
blob: 41f40e07a0cb22aa6a7134909db3f7f726cf68e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
def test_serverity_valid(default_rules_collection):
    valid_severity_values = [
        'VERY_HIGH',
        'HIGH',
        'MEDIUM',
        'LOW',
        'VERY_LOW',
        'INFO',
    ]
    for rule in default_rules_collection:
        assert rule.severity in valid_severity_values