aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-12-17 16:45:54 -0500
committerJake Hunsaker <jhunsake@redhat.com>2021-01-04 11:55:11 -0500
commit0c1098fa55d4fd4101193d8609b3845f90dddb35 (patch)
tree588e4e48ce2f952f65112e589c9f7185a070f24c /tests
parent516f42719cdb98b7b0d035b115e7f9037616499d (diff)
downloadsos-0c1098fa55d4fd4101193d8609b3845f90dddb35.tar.gz
[PackageManager] Separate PackageManager from policies
Moves `PackageManager` out from `sos/policies/__init__.py` into a new `sos/policies/package_managers` subdir. Future commits will aim to canonicalize package manager subclasses for policies to use, and ease the creation of new reusable package managers. Related: #2349 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/policy_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/policy_tests.py b/tests/policy_tests.py
index 263ea352..4b248b70 100644
--- a/tests/policy_tests.py
+++ b/tests/policy_tests.py
@@ -7,7 +7,8 @@
# See the LICENSE file in the source distribution for further information.
import unittest
-from sos.policies import Policy, PackageManager, import_policy
+from sos.policies import Policy, import_policy
+from sos.policies.package_managers import PackageManager
from sos.report.plugins import (Plugin, IndependentPlugin,
RedHatPlugin, DebianPlugin)