pulp_rpm
pulp_rpm copied to clipboard
Assert that API calls related to orphans function correctly
Author: @fao89 (fao89)
Redmine Issue: 6343, https://pulp.plan.io/issues/6343
- Create an RPM repository and populate it with content. Delete the repository, thus leaving behind orphans.
- Make several orphan-related API calls, and assert that each call has the desired effect.
Note: kickstart repos also have sub-repos
Reference: #1268
OrphansTestCase - https://github.com/pulp/Pulp-2-Tests/blob/master/pulp_2_tests/tests/rpm/api_v2/test_orphan_remove.py#L33
Fixtures: https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-kickstart/ https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-signed/