mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +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:
@@ -280,7 +280,7 @@ class AbiLogprofHeaderTest(AATest):
|
||||
# ]
|
||||
|
||||
def _run_test(self, params, expected):
|
||||
obj = AbiRule._parse(params)
|
||||
obj = AbiRule.parse(params)
|
||||
self.assertEqual(obj.logprof_header(), expected)
|
||||
|
||||
## --- tests for AbiRuleset --- #
|
||||
|
Reference in New Issue
Block a user