pulp_2_tests.tests.rpm.api_v2.test_errata

Location: Pulp 2 TestsTestspulp_2_tests.tests.rpm.api_v2.test_errata

Test whether applying an erratum will update an RPM package version.

class pulp_2_tests.tests.rpm.api_v2.test_errata.ApplyErratumTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test whether applying an erratum will install referenced RPMs.

test_all()

Test whether applying an erratum will install referenced RPMs.

It does the following:

  1. Create, sync and publish a repository with errata and RPM packages. Two of these RPMs have the same name and different versions. The newest version is referenced by one of the errata.
  2. Install the older version of the aforementioned RPM.
  3. Apply the erratum, and verify that newer version of the RPM is installed.

This test targets Pulp Smash #760.

class pulp_2_tests.tests.rpm.api_v2.test_errata.LargePackageListTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Test syncing errata with large package list.

test_all()

Test syncing errata with large package list.

This test targets the following issue:

Do the following:

  1. Create two repositories, each with a feed URL of pulp_2_tests.constants.RPM_LARGE_UPDATEINFO.
  2. Sync both repositories. Assert that each sync finishes without errors.