2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-02 07:15:18 +00:00

utils: remove the skip_*_profiles testing bypass

The utils should be able to skip profiles that it can't parse now,
so this test suite bypass mechanism should no longer be necessary.

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee
2025-02-27 16:14:02 -08:00
parent e80d5bd3d4
commit 930218193b
5 changed files with 9 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ from apparmor.rule.alias import AliasRule
from apparmor.rule.boolean import BooleanRule
from apparmor.rule.include import IncludeRule
from apparmor.rule.variable import VariableRule
from common_test import AATest, setup_aa, setup_all_loops, write_file, skip_active_profiles
from common_test import AATest, setup_aa, setup_all_loops, write_file
class TestAdd_profile(AATest):
@@ -430,7 +430,7 @@ class AaTest_get_all_merged_variables(AATest):
apparmor.aa.loadincludes()
# Keep this synced with the list in test-logprof.py and
# test-minitools.py
apparmor.aa.read_profiles(skip_profiles=skip_active_profiles)
apparmor.aa.read_profiles()
def test_unchanged(self):
self._load_profiles()