pulp_smash.tests.rpm.cli.test_environments

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

Tests for RPM package environments.

class pulp_smash.tests.rpm.cli.test_environments.UploadPackageEnvTestCase(methodName='runTest')

Test whether Pulp can upload package environments into a repository.

This test case covers Pulp #1003 and the corresponding Pulp Smash issue Pulp Smash #319. The following test steps are based on official Pulp RPM Recipes.

  1. Create and sync a repository.
  2. Upload the environmrnt into this repo and check if there’s any error.
classmethod setUpClass()

Create and sync a repository.

classmethod tearDownClass()

Destroy the repository.

test_upload_environment()

Test if package environments can be uploaded.