Closed Satellite-QE closed 1 month ago
Cherrypick of PR: https://github.com/SatelliteQE/nailgun/pull/1233
Add possibility to query deb packages for host
There is no up to date foreman documentation online but the api is listed here
ipdb> host.debs({"per_page": 20}) {'total': 385, 'subtotal': 385, 'selectable': 385, 'page': 1, 'per_page': 20, 'error': None, 'search': None, 'sort': {'by': 'name', 'order': 'asc'}, 'results': ...
possible PRT test tests/foreman/api/test_errata.py
tests/foreman/api/test_errata.py
Cherrypick of PR: https://github.com/SatelliteQE/nailgun/pull/1233
Description of changes
Add possibility to query deb packages for host
Upstream API documentation, plugin, or feature links
There is no up to date foreman documentation online but the api is listed here
Functional demonstration
Additional Information
possible PRT test
tests/foreman/api/test_errata.py