pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages
Tests for how well Pulp can deal with package signatures.
When a package is added to an RPM repository, its signature should be stored by Pulp. This is true regardless of whether the package is an RPM, DRPM or SRPM.
Tests for this feature include the following:
- Upload signed and unsigned packages to RPM repositories. (See
UploadPackageTestCase
.) - Synchronize signed and unsigned packages to RPM repositories. (See
SyncPackageTestCase
.)
For more information, see:
-
class
pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages.
SyncPackageTestCase
(methodName='runTest')¶ Bases:
pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages._BaseTestCase
Test if Pulp saves signatures from synced-in packages.
-
test_signed_drpm
()¶ Assert signature is stored for signed drpm during sync.
-
test_signed_rpm
()¶ Assert signature is stored for signed rpm during sync.
-
test_signed_srpm
()¶ Assert signature is stored for signed srpm during sync.
-
test_unsigned_drpm
()¶ Assert no signature is stored for unsigned drpm during sync.
-
test_unsigned_rpm
()¶ Assert no signature is stored for unsigned rpm during sync.
-
test_unsigned_srpm
()¶ Assert no signature is stored for unsigned srpm during sync.
-
-
class
pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages.
UploadPackageTestCase
(methodName='runTest')¶ Bases:
pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages._BaseTestCase
Test if Pulp saves signatures from uploaded packages.
-
test_signed_drpm
()¶ Import a signed DRPM into Pulp. Verify its signature.
-
test_signed_rpm
()¶ Import a signed RPM into Pulp. Verify its signature.
-
test_signed_srpm
()¶ Import a signed SRPM into Pulp. Verify its signature.
-
test_unsigned_drpm
()¶ Import an unsigned DRPM into Pulp. Verify it has no signature.
-
test_unsigned_rpm
()¶ Import an unsigned RPM into Pulp. Veriy it has no signature.
-
test_unsigned_srpm
()¶ Import an unsigned SRPM into Pulp. Verify it has no signature.
-