Test the sync and publish API endpoints for Python repositories.
A base class for the test cases in this module.
Test cases derived from this class (should) do the following:
- Create and populate a Python repository. The procedure for populating the repository varies in each child class.
- Create a second Python repository, and sync it from the first.
In each step, the
verify_*methods are used if appropriate.
Create class-wide variables.
Delete fixtures and orphans.
Create, populate and publish a Python repository.
Subclasses must override this method.
Create a second Python repository, and sync it from the first.
Note that, for Pulp #140 to be fully tested, an additional test case should be created wherein one Pulp application syncs from another completely independent Pulp application.
Assert sdist and bdist_wheel shelf-reader packages were synced.
This test targets Pulp #1883.
Verify the call to sync a Python repository succeeded.
- The call report has an HTTP 202 status code.
- None of the tasks spawned by the “sync” request contain errors.
Test whether content can be synced into a Python repository.
Test whether content can be uploaded to a Python repository.
Return detailed information about a Python repository.
Return the root path to a published Python repository.