Skip to content
Snippets Groups Projects
Commit bb4ebcec authored by anarcat's avatar anarcat
Browse files

don't check for failure with missing public keys

GPG actually handles missing public keys in the temporary keyring
correctly: the agent passes those along, so that test was failing in
GPG 2.1.
parent 365099fb
No related branches found
No related tags found
No related merge requests found
......@@ -180,9 +180,6 @@ this duplicates tests from the gpg code, but is necessary to test later function
f.write('default-key 323F39BD')
self.ui.prepare()
self.test_copy_secrets()
# public key is missing, this should fail
with self.assertRaises(GpgRuntimeError):
self.ui.sign_key()
self.ui.keyring.import_data(open(os.path.dirname(__file__) +
'/323F39BD.asc').read())
self.ui.keyring.import_data(open(os.path.dirname(__file__) +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment