pulp_smash.tests.docker.api_v2.test_duplicate_uploads

Location: Pulp SmashAPI Documentationpulp_smash.tests.docker.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 as follows:

  1. Create a new feed-less repository.
  2. Upload content and import it into the repository. Assert the upload and import was successful.
  3. Upload identical content and import it into the repository.

The second upload should silently fail for all Pulp releases in the 2.x series.

class pulp_smash.tests.docker.api_v2.test_duplicate_uploads.DuplicateUploadsTestCase(methodName='runTest')

Test how well Pulp can deal with duplicate content unit uploads.

classmethod setUpClass()

Create a Docker repository.