summaryrefslogtreecommitdiffhomepage
path: root/tests/test_pkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pkey.py')
-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 dac1d02b..80843222 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -491,7 +491,7 @@ class KeyTest(unittest.TestCase):
self.assertEqual(key.public_blob.comment, 'test_rsa.key.pub')
# Delve into blob contents, for test purposes
msg = Message(key.public_blob.key_blob)
- self.assertEqual(msg.get_string(), 'ssh-rsa-cert-v01@openssh.com')
+ self.assertEqual(msg.get_text(), 'ssh-rsa-cert-v01@openssh.com')
nonce = msg.get_string()
e = msg.get_mpint()
n = msg.get_mpint()