summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorDylan Thacker-Smith <Dylan.Smith@shopify.com>2014-09-21 23:13:42 -0400
committerJeff Forcier <jeff@bitprophet.org>2014-09-22 09:57:57 -0700
commit641a8cb62d43ce7ed1e07ddb61bca2744547f73a (patch)
tree23cb3f0bd5c66996bdbcec9e915662c34059e85c /tests
parent8bc2e827cffa7efce074404f71ad62ac028c5c84 (diff)
Use keyword arguments for arguments when creating a Transport.
Fixes #399
Diffstat (limited to 'tests')
-rw-r--r--tests/test_kex_gss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_kex_gss.py b/tests/test_kex_gss.py
index b5e277b3..8769d09c 100644
--- a/tests/test_kex_gss.py
+++ b/tests/test_kex_gss.py
@@ -84,7 +84,7 @@ class GSSKexTest(unittest.TestCase):
def _run(self):
self.socks, addr = self.sockl.accept()
- self.ts = paramiko.Transport(self.socks, True)
+ self.ts = paramiko.Transport(self.socks, gss_kex=True)
host_key = paramiko.RSAKey.from_private_key_file('tests/test_rsa.key')
self.ts.add_server_key(host_key)
self.ts.set_gss_host(targ_name)