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:
@@ -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
|
||||
|
Reference in New Issue
Block a user