Fix wrong passphrase test

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

View File

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