Browse Source

Fix test for passphrase

pull/83/head
khuxkm fbexl 5 years ago
parent
commit
850dd39f26
  1. 2
      tests/test_handler.py

2
tests/test_handler.py

@ -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:

Loading…
Cancel
Save