diff --git a/tests/test_handler.py b/tests/test_handler.py index f136863..5292eed 100644 --- 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: