summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 15:40:15 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 15:40:15 -0700
commitf99dfdeea21c63f8df8622ebd2fe1357bcf0ed46 (patch)
tree6c229cbe228cc0c8d8570c09b2e6cdd6b29663a4
parent3530bc9c70e53e5bade1ca91d595172ead3530c4 (diff)
Fix a braino in new test
-rw-r--r--tests/test_pkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index 3d5f0326..f673254f 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -267,7 +267,7 @@ class KeyTest (unittest.TestCase):
try:
key.write_private_key_file(newfile, password=newpassword)
# Verify the inner key data still matches (when no ValueError)
- key2 = RSAKey(newfile, password=newpassword)
+ key2 = RSAKey(filename=newfile, password=newpassword)
self.assertEqual(key, key2)
finally:
os.remove(newfile)