2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

Fix most PEP 8 whitespace, indentation, and major line length violations.

This commit is contained in:
Mark Grassi
2022-08-07 12:26:24 -04:00
parent e4f88cc3a8
commit 96f7121944
86 changed files with 4530 additions and 3784 deletions

View File

@@ -406,6 +406,7 @@ syntax_failure = (
'bare_include_tests/ok_2.sd', # two #include<...> in one line
)
class TestParseParserTests(AATest):
tests = [] # filled by parse_test_profiles()
@@ -434,6 +435,7 @@ class TestParseParserTests(AATest):
apparmor.parse_profile_data(data, params['file'], 0, True)
apparmor.active_profiles.get_all_merged_variables(params['file'], apparmor.include_list_recursive(apparmor.active_profiles.files[params['file']]))
def parse_test_profiles(file_with_path):
'''parse the test-related headers of a profile (for example EXRESULT) and add the profile to the set of tests'''
exresult = None