mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Run severity tests with official severity.db
... instead of the slightly outdated copy in test/
This commit is contained in:
@@ -434,7 +434,7 @@ class CapabiliySeverityTest(AATest):
|
||||
('foo', 'unknown'),
|
||||
]
|
||||
def _run_test(self, params, expected):
|
||||
sev_db = severity.Severity('severity.db', 'unknown')
|
||||
sev_db = severity.Severity('../severity.db', 'unknown')
|
||||
obj = CapabilityRule(params)
|
||||
rank = obj.severity(sev_db)
|
||||
self.assertEqual(rank, expected)
|
||||
|
Reference in New Issue
Block a user