pulp_2_tests.tests.rpm.api_v2.test_errata¶
Location: Pulp 2 Tests → Tests → pulp_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:
- 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.
- Install the older version of the aforementioned RPM.
- 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:
- Create two repositories, each with a feed URL of
pulp_2_tests.constants.RPM_LARGE_UPDATEINFO
. - Sync both repositories. Assert that each sync finishes without errors.
- Create two repositories, each with a feed URL of
-