summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/loop.py2
-rw-r--r--tests/stub_sftp.py2
-rwxr-xr-xtests/test_file.py2
-rw-r--r--tests/test_kex.py2
-rw-r--r--tests/test_message.py2
-rw-r--r--tests/test_pkey.py2
-rwxr-xr-xtests/test_sftp.py8
-rw-r--r--tests/test_transport.py2
8 files changed, 11 insertions, 11 deletions
diff --git a/tests/loop.py b/tests/loop.py
index 22a173fa..ad5f7ca5 100644
--- a/tests/loop.py
+++ b/tests/loop.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/stub_sftp.py b/tests/stub_sftp.py
index e1dbb97f..639477cc 100644
--- a/tests/stub_sftp.py
+++ b/tests/stub_sftp.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/test_file.py b/tests/test_file.py
index 7914a43f..250821cc 100755
--- a/tests/test_file.py
+++ b/tests/test_file.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/test_kex.py b/tests/test_kex.py
index c7a86899..f4e91932 100644
--- a/tests/test_kex.py
+++ b/tests/test_kex.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/test_message.py b/tests/test_message.py
index 218ab529..441e3ceb 100644
--- a/tests/test_message.py
+++ b/tests/test_message.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/test_pkey.py b/tests/test_pkey.py
index 6bbeb53d..3fe48618 100644
--- a/tests/test_pkey.py
+++ b/tests/test_pkey.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index ba00a184..79a52c25 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
@@ -438,16 +438,16 @@ class SFTPTest (unittest.TestCase):
finally:
sftp.remove('%s/hongry.txt' % FOLDER)
- def test_E_big_file_no_buffer(self):
+ def test_E_big_file_big_buffer(self):
"""
- write a 1MB file, with no linefeeds, and no buffering.
+ write a 1MB file, with no linefeeds, and a big buffer.
"""
global g_big_file_test
if not g_big_file_test:
return
kblob = (1024 * 1024 * 'x')
try:
- f = sftp.open('%s/hongry.txt' % FOLDER, 'w')
+ f = sftp.open('%s/hongry.txt' % FOLDER, 'w', 128 * 1024)
f.write(kblob)
f.close()
diff --git a/tests/test_transport.py b/tests/test_transport.py
index 71ca140d..bd11487f 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#