pulp_smash.tests.rpm.cli.test_langpacks

Location: Pulp SmashAPI Documentationpulp_smash.tests.rpm.cli.test_langpacks

Tests for Pulp’s langpack support.

class pulp_smash.tests.rpm.cli.test_langpacks.UploadAndRemoveLangpacksTestCase(methodName='runTest')

Test whether one can upload to and remove langpacks from a repository.

This test targets Pulp Smash #270. The test steps are as follows:

  1. Create a repository.
  2. Upload langpacks to the repository. Verify the correct number of langpacks are present.
  3. Remove langpacks from the repository. Verify that no langpacks are present.
classmethod setUpClass()

Create a repository.

classmethod tearDownClass()

Delete the repository created by setUpClass().

test_01_upload_langpacks()

Upload a langpack to the repository.

test_02_remove_langpacks()

Remove all langpacks from the repository.