summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2005-06-28 06:02:44 +0000
committerRobey Pointer <robey@lag.net>2005-06-28 06:02:44 +0000
commit727cab9672d5951ee8d11667ba760b29b58b7527 (patch)
tree166d7fffc0eb54afbeddce9d7112143c8e306e65 /tests/test_sftp.py
parent1fb38470aa557277fa00262566dc9ca96c190753 (diff)
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-17]
more unit tests
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-xtests/test_sftp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 5031f02f..280f82d6 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -68,9 +68,10 @@ g_big_file_test = True
class SFTPTest (unittest.TestCase):
def init(hostname, username, keyfile, passwd):
- global sftp
+ global sftp, tc
t = paramiko.Transport(hostname)
+ tc = t
try:
key = paramiko.RSAKey.from_private_key_file(keyfile, passwd)
except paramiko.PasswordRequiredException: