diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-12-17 16:45:54 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-01-04 11:55:11 -0500 |
commit | 0c1098fa55d4fd4101193d8609b3845f90dddb35 (patch) | |
tree | 588e4e48ce2f952f65112e589c9f7185a070f24c /tests | |
parent | 516f42719cdb98b7b0d035b115e7f9037616499d (diff) | |
download | sos-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.py | 3 |
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) |