mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Use parse() instead of _parse() in LogprofHeaderTest
The *LogprofHeaderTest accidently used the private _parse() insteaf of the official parse().
This commit is contained in:
@@ -451,7 +451,7 @@ class CapabilityLogprofHeaderTest(AATest):
|
||||
]
|
||||
|
||||
def _run_test(self, params, expected):
|
||||
obj = CapabilityRule._parse(params)
|
||||
obj = CapabilityRule.parse(params)
|
||||
self.assertEqual(obj.logprof_header(), expected)
|
||||
|
||||
# --- tests for CapabilityRuleset --- #
|
||||
|
Reference in New Issue
Block a user