pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies
Test actions over repositories with rich and weak dependencies.
-
class
pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies.
CopyRecursiveUnitsTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Test copy units for a repository rich/weak dependencies.
This test targets the following issues:
-
do_test
(recursive, recursive_conservative)¶ Copy of units for a repository with rich/weak dependencies.
-
pytestmark
= [Mark(name='recursive_conservative', args=(), kwargs={})]¶
-
classmethod
setUpClass
()¶ Create class-wide variables.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies.
PackageManagerConsumeRPMTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Test whether package manager can consume RPM with rich/weak from Pulp.
-
test_all
()¶ Package manager can consume RPM with rich/weak dependencies from Pulp.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies.
SearchContentTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Verify keywords content.
-
test_all
()¶ Search contents of a richnweak repository matching package name.
This test targets Pulp #3929 and Pulp Smash #901. The repository content documentation describes the CLI content syntax.
Asserts the required fields are present.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies.
SyncPublishTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Sync and publish a repository with rich and weak dependencies.
-
do_test
(feed)¶ Sync and publish a repository with rich and weak dependencies.
This test targets the following issue:
-
classmethod
setUpClass
()¶ Create class-wide variables.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies.
UploadRPMTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Test whether one can upload a RPM with rich/weak into a repository.
Specifically, this method does the following:
- Create an RPM repository.
- Upload an RPM with rich/weak dependencies into the repository.
- Search for all content units in the repository.
-
test_all
()¶ Import a RPM with rich/weak dependencies into a repository.
Search it for content units.