diff options
author | Robey Pointer <robey@lag.net> | 2005-02-28 08:06:08 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-02-28 08:06:08 +0000 |
commit | fead211c5ca75b654c218c6bcfc75552284719c6 (patch) | |
tree | e7c0b608e72d6404067089a37d478d6c140a3138 /tests/test_sftp.py | |
parent | 7490172401a48f8134e860120ef54a08303f63eb (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-x | tests/test_sftp.py | 8 |
1 files changed, 4 insertions, 4 deletions
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() |