Fix test for passphrase

pull/83/head
khuxkm fbexl 2019-09-06 13:54:24 -04:00
parent 1a9ba5bb31
commit 850dd39f26
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class TestPrivateKey(unittest.TestCase):
pk = self.get_pk_obj(fname, password='')
with self.assertRaises(InvalidValueError) as ctx:
pk.get_pkey_obj()
self.assertIn('Need a password', str(ctx.exception))
self.assertIn('Need a passphrase', str(ctx.exception))
pk = self.get_pk_obj(fname, password='wrongpass')
with self.assertRaises(InvalidValueError) as ctx: