pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies

Location: Pulp 2 TestsTestspulp_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.

test_non_recursive()

Test simple copy for a repository with rich/weak dependencies.

See do_test().”

test_recursive()

Test recursive copy for a repository with rich/weak dependencies.

See do_test().”

test_recursive_conservative()

Test recursive, conservative copy for rich/weak dependencies.

See do_test().”

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:

Pulp Smash #901.

classmethod setUpClass()

Create class-wide variables.

test_rpm()

Sync and publish an RPM repo. See do_test().

test_srpm()

Sync and publish an SRPM repo. See do_test().

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:

  1. Create an RPM repository.
  2. Upload an RPM with rich/weak dependencies into the repository.
  3. 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.