aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.py
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-12-17 16:32:16 -0500
committerJake Hunsaker <jhunsake@redhat.com>2021-01-04 11:55:11 -0500
commit516f42719cdb98b7b0d035b115e7f9037616499d (patch)
tree920aff556a03fd61aa5793284f8caad94a65bd7f /tests/plugin_tests.py
parent5b35f268c6d05e13e7cc8fa5d9c22d4b5a959b93 (diff)
downloadsos-516f42719cdb98b7b0d035b115e7f9037616499d.tar.gz
[policies] Move linux policies into new subdir
Moves the actual policy files for supported distributions out of `sos/policies` and into a new subdir `sos/policies/distros`. Note that `Policy()` still lives in the former, while `LinuxPolicy()` has been moved into `sos/policies/distros/__init__.py` Related: #2349 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r--tests/plugin_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index 0acf07f4..54802050 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -14,7 +14,8 @@ from io import StringIO
from sos.report.plugins import Plugin, regex_findall, _mangle_command
from sos.archive import TarFileArchive
-from sos.policies import LinuxPolicy, InitSystem
+from sos.policies.distros import LinuxPolicy
+from sos.policies.init_systems import InitSystem
PATH = os.path.dirname(__file__)