diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-09-02 12:47:52 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-09-02 12:48:03 -0700 |
commit | 5fb4bb2cfc415b287f629a398de5447da18a3fb2 (patch) | |
tree | bcb70515094e1b66bc2d55f1dab70316b4cc2b35 /tests | |
parent | bad045f7dada340d2c707d25923406e32406fc22 (diff) |
Python 2.6 fixes
Fixes #1049
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client.py b/tests/test_client.py index f0808c4b..7ada13da 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -265,7 +265,7 @@ class SSHClientTest (unittest.TestCase): # server-side behavior is 100% identical.) # NOTE: only bothered whipping up one cert per overall class/family. for type_ in ('rsa', 'dss', 'ecdsa_256', 'ed25519'): - cert_path = test_path('test_{}.key-cert.pub'.format(type_)) + cert_path = test_path('test_{0}.key-cert.pub'.format(type_)) self._test_connection( key_filename=cert_path, public_blob=PublicBlob.from_file(cert_path), @@ -279,7 +279,7 @@ class SSHClientTest (unittest.TestCase): # that a specific cert was found, along with regular authorization # succeeding proving that the overall flow works. for type_ in ('rsa', 'dss', 'ecdsa_256', 'ed25519'): - key_path = test_path('test_{}.key'.format(type_)) + key_path = test_path('test_{0}.key'.format(type_)) self._test_connection( key_filename=key_path, public_blob=PublicBlob.from_file( |