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

extra test to see that socket magic works

parent 81d59e99
No related branches found
No related tags found
No related merge requests found
......@@ -262,6 +262,10 @@ this duplicates tests from the gpg code, but is necessary to test later function
self.ui.prepare()
self.assertTrue(os.path.exists(os.path.join(self.ui.tmpkeyring.homedir, 'gpg.conf')))
self.test_copy_secrets()
self.ui.tmpkeyring.context.call_command(['list-secret-keys'])
self.assertIn('3F94240C918E63590B04152E86E4E70A96F47C6A',
self.ui.tmpkeyring.context.stdout,
'tmpkeyring can see private keys')
self.ui.sign_key()
self.ui.tmpkeyring.context.call_command(['list-sigs', '7B75921E'])
# this is the primary test key, it should have signed this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment