← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/launchpad:focal-fixes-2 into launchpad:master

 

Guruprasad has proposed merging ~lgp171188/launchpad:focal-fixes-2 into launchpad:master.

Commit message:
Remove duplicate key pre-generation to fix failing test

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/429638
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:focal-fixes-2 into launchpad:master.
diff --git a/lib/lp/archivepublisher/tests/test_signing.py b/lib/lp/archivepublisher/tests/test_signing.py
index ae4b7ea..e8a3fcc 100644
--- a/lib/lp/archivepublisher/tests/test_signing.py
+++ b/lib/lp/archivepublisher/tests/test_signing.py
@@ -2288,10 +2288,6 @@ class TestSigningUploadWithSigningService(TestSigningHelpers):
         """For no autokey archives, signing process should sign only for the
         available keys, and skip signing the other files.
         """
-        # Pre-generate KMOD and OPAL keys
-        self.getArchiveSigningKey(SigningKeyType.KMOD)
-        self.getArchiveSigningKey(SigningKeyType.OPAL)
-
         filenames = ["1.0/empty.ko", "1.0/empty.opal"]
 
         self.openArchive("test", "1.0", "amd64")