Location: Pulp Smash → API Documentation → pulp_smash.tests.pulp2.python.api_v2.test_duplicate_uploads
Tests for how well Pulp can deal with duplicate uploads.
This module targets Pulp #1406 and Pulp Smash #81. The test procedure is
- Create a new feed-less repository.
- Upload content and import it into the repository. Assert the upload and
import was successful.
- Upload identical content and import it into the repository.
The second upload should silently fail for all Pulp releases in the 2.x series.
Test how well Pulp can deal with duplicate content unit uploads.
Create a Python repo. Upload a Python package into it twice.