commit 850dd39f26de2944f37813c7b60006e8c5832f8e
parent 1a9ba5bb3167d0deb5a37c289ba43d517c7d095d
Author: khuxkm fbexl <khuxkm@ttm.sh>
Date: Fri, 6 Sep 2019 13:54:24 -0400
Fix test for passphrase
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_handler.py b/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: