From d511c5102e5cfc9eeee7c8a976f05e99806ce1d3 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Tue, 20 Oct 2026 16:08:13 +0200 Subject: [PATCH] Updater tests reset a signature verifier left behind by an earlier test file --- tests/terminal/test_updater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/terminal/test_updater.py b/tests/terminal/test_updater.py index 29f77922..f8b6747c 100644 --- a/tests/terminal/test_updater.py +++ b/tests/terminal/test_updater.py @@ -48,6 +48,7 @@ class UpdaterCase(unittest.TestCase): patch = mock.patch.object(target, value, return_value=["sm_86"] if value == "cuda_archs_present" else "610.47") patch.start() self.addCleanup(patch.stop) + ec.register_signature_verifier(None) # a verifier an earlier test file left behind (it holds the shipped keys only) must not decide here self.addCleanup(ec.register_signature_verifier, None) # the tests sign with throwaway keys that they hand over explicitly: the release key shipped in update_keys.json is not in play here # (ReleaseKeys below checks the shipped file itself)