Updater tests reset a signature verifier left behind by an earlier test file
This commit is contained in:
1 parent
3de97a8892
commit
d511c5102e
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user