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:
@@ -233,7 +233,7 @@ class AliasLogprofHeaderTest(AATest):
|
||||
]
|
||||
|
||||
def _run_test(self, params, expected):
|
||||
obj = AliasRule._parse(params)
|
||||
obj = AliasRule.parse(params)
|
||||
self.assertEqual(obj.logprof_header(), expected)
|
||||
|
||||
# --- tests for AliasRuleset --- #
|
||||
|
Reference in New Issue
Block a user