From b2261367e807f8a715ec019eee864fc7f5526344 Mon Sep 17 00:00:00 2001 From: khuxkm fbexl Date: Fri, 6 Sep 2019 14:19:24 -0400 Subject: [PATCH] Fix wrong passphrase test --- tests/test_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_handler.py b/tests/test_handler.py index 5292eed..fce5187 100644 --- a/tests/test_handler.py +++ b/tests/test_handler.py @@ -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)