2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +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

@@ -16,7 +16,7 @@ import sys
import unittest
# import apparmor.aa as aa # see the setup_aa() call for details
from common_test import AATest, read_file, setup_all_loops, skip_active_profiles # , setup_aa
from common_test import AATest, read_file, setup_all_loops # , setup_aa
class TestLogprof(AATest):
@@ -36,7 +36,7 @@ class TestLogprof(AATest):
# copy the local profiles to the test directory
self.profile_dir = self.tmpdir + '/profiles'
shutil.copytree('../../profiles/apparmor.d/', self.profile_dir,
symlinks=True, ignore=shutil.ignore_patterns(*skip_active_profiles))
symlinks=True)
def AATeardown(self):
self._terminate()