diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-08-28 21:47:39 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-08-28 21:47:39 -0700 |
commit | bad045f7dada340d2c707d25923406e32406fc22 (patch) | |
tree | ca5b5b97f5f6a2079243ae5584a26980025b5e8c /tests | |
parent | 9b693d4753bd1e12da488b09e1961ac9979212d3 (diff) |
Python 3 fixes re #1042
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pkey.py | 2 |
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() |