pulp_2_tests.tests.rpm.api_v2.test_modularity¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.api_v2.test_modularity
Tests that perform actions over RPM modular repositories.
-
class
pulp_2_tests.tests.rpm.api_v2.test_modularity.
ManageModularContentTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Manage modular content tests cases.
This test targets the following issue:
-
copy_content_between_repos
(recursive, criteria)¶ Create two repos and copy content between them.
-
create_sync_modular_repo
()¶ Create a repo with feed pointing to modular data and sync it.
Returns: repo data that is created and synced with modular content.
-
remove_module_from_repo
(repo, criteria)¶ Remove modules from repo.
-
classmethod
setUpClass
()¶ Create class wide variables.
-
test_copy_modulemd_defaults
()¶ Test copy of modulemd_defaults in RPM repository.
-
test_copy_modulemd_non_recur
()¶ Test copy of modulemd in RPM repository in non recursive mode.
-
test_copy_modulemd_recur
()¶ Test copy of modulemd in RPM repository in recursive mode.
-
test_remove_modulemd
()¶ Test sync and remove modular RPM repository.
-
test_remove_modulemd_defaults
()¶ Test sync and remove modular RPM repository.
-
test_sync_publish_repo
()¶ Test sync and publish modular RPM repository.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_modularity.
PackageManagerModuleListTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Package manager can read module list from a Pulp repo.
-
test_all
()¶ Verify whether package manager can read module list from a Pulp repo.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_modularity.
UploadModuleTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Upload a module.yaml file and test upload import in Pulp repo.
-
classmethod
setUpClass
()¶ Create class wide variables.
-
test_one_default_per_repo
()¶ Verify changing the modules default content of modules.yaml do not affects repo.
-
test_upload_module
()¶ Verify whether uploaded module.yaml is reflected in the pulp repo.
-
classmethod