From 0c1098fa55d4fd4101193d8609b3845f90dddb35 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Thu, 17 Dec 2020 16:45:54 -0500 Subject: [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 --- tests/policy_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/policy_tests.py') 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) -- cgit