aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unittests/policy_tests.py
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2023-05-04 13:54:22 -0400
committerJake Hunsaker <jhunsake@redhat.com>2023-05-09 13:23:28 -0400
commit9f48da7aed9a2fa799becfdd0eec89d4458e0873 (patch)
tree90f13925218160d0953c90e1de8f8cd0ca90f58e /tests/unittests/policy_tests.py
parent071e33a7dd61ca13664f714d14a8db0700382af1 (diff)
downloadsos-9f48da7aed9a2fa799becfdd0eec89d4458e0873.tar.gz
[package_managers] Break up `_generate_pkg_list()`
This commit breaks up `_generate_pkg_list()` by making it call to a new `_parse_pkg_list()` method that each `PackageManager` will now need to implement. This new method will be fed the output of the manager's `query_command` for it to parse and yield package information, for `_generate_pkg_list()` to then assemble into the `_packages` dict. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/unittests/policy_tests.py')
0 files changed, 0 insertions, 0 deletions