2
0
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:
Christian Boltz
2021-03-07 18:28:27 +01:00
parent c2718e2677
commit 4c77f7193b
13 changed files with 15 additions and 15 deletions

View File

@@ -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 --- #