pulp_2_tests.tests.rpm.cli.test_environments¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.cli.test_environments
Tests for RPM package environments.
-
class
pulp_2_tests.tests.rpm.cli.test_environments.
UploadPackageEnvTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
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.
- Create and sync a repository.
- 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.