summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
AgeCommit message (Collapse)Author
2014-09-18A herp and a derp (and an import shuffle)Jeff Forcier
2014-09-18Clean up & tweak failing sftp closure testJeff Forcier
2014-09-07Remove TODOMichael Williamson
2014-09-07Fix error on Python 2.5Michael Williamson
2014-09-07Convert SFTPClient to a context managerMichael Williamson
2014-09-05Add quick test re #131Jeff Forcier
2014-09-0580-col tweaksJeff Forcier
2014-04-24Fix some trailing whitespaceJeff Forcier
2014-04-24Merge updated a01e449 from al-tonioJeff Forcier
2014-04-17BufferedFile.read() now returns byte strings instead of text stringsAntoine Brenner
It is the right thing to do since we have no idea what encoding the file is in, or even if the file is text data. BufferedFile.readline() is unchanged and returns text strings assuming the file is utf-8 encoded. This should fix the following issue: http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252 Antoine Brenner Conflicts: sites/www/changelog.rst
2014-04-16Merge branch '1.12' into 1.13Jeff Forcier
Conflicts: paramiko/sftp_client.py sites/www/changelog.rst tests/test_sftp.py
2014-04-16Fix logging error in sftp_client for filenames containing the character.Jeff Forcier
Bug reported here: http://vlists.pepperfish.net/pipermail/obnam-flarn.net/2013-May/000767.html Antoine Brenner Backported to 1.11 by @bitprophet Conflicts: paramiko/sftp_client.py sites/www/changelog.rst tests/test_sftp.py
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2014-03-07Start in on star import eradicationJeff Forcier
2014-01-16Add getcwd testScott Maxwell
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-19Remove `from __future__ import with_statement`Scott Maxwell
2013-11-19Remove unnecessary vars for openScott Maxwell
2013-11-19Use 'with' for opening most file and SFTPFIle objectsScott Maxwell
2013-11-19Remove eval that was required for Py25 supportScott Maxwell
2013-11-19Change all exceptions to modern format (not Py2.5 compatible)Scott Maxwell
2013-11-19Change conditional from PY3 to PY2 to be better prepared for a possible Py4.Scott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-02Make sftp.open handle binary and text, more type conversionScott Maxwell
2013-11-01Changes inspired by the nischu7 branchScott Maxwell
2013-11-01Have to use u'' format in test_sftp so this test won't run on Py3.2 unless ↵Scott Maxwell
we find a solution
2013-11-01Fixes for Python 2.5 and Python 3.2 supportScott Maxwell
2013-10-31Fixes for test_sftpScott Maxwell
2013-10-30Convert and detect types properly, use helper constants, use StringIO and rangeScott Maxwell
2013-10-30Fix message sendingScott Maxwell
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30Use test_path to avoid relative path issuesScott Maxwell
2013-10-30Fix importsScott Maxwell
2013-09-27Merge branch '1.9' into 1.10Jeff Forcier
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2013-03-04Adding test capturing desired behavior and demonstrating issue #142.Jason R. Coombs
2013-03-04Delint test_sftp (remove unused imports and unused variables, remove excess ↵Jason R. Coombs
whitespace, move imports to top, remove semicolon terminator) --HG-- extra : source : 01df712a396de5fa7e1c0cc265411fdb2bbc5f41
2013-01-05Replace useless version check with import from __future__Michael Williamson
2013-01-05Verify Python version >= 2.6 before running context manager testMichael Williamson
2013-01-04Turn SFTPFile into a context managerMichael Williamson
2010-04-13code style and fix test.Robey Pointer
2009-12-18added functionality to skip verifying the file, which works around sftp ↵Larry Wright
servers that remove the file immediately after it's been closed.
2009-10-31bug 411099: chdir() isn't saving the cwd in a normalized way. added test.Robey Pointer
2009-07-19fix my email address to be the current one.Robey Pointer
2008-07-06[project @ robey@lag.net-20080706230815-v2ybqxm237zw0wa0]Robey Pointer
add a callback method that can be used to track get/put progress in SFTPClient. suggested by Phil Schwartz.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2006-09-01[project @ robey@lag.net-20060901205930-021bcc34e3d5d8c8]Robey Pointer
sadly, revert the append optimization -- it breaks for openssh
2006-08-22[project @ robey@lag.net-20060823025538-3f8a4d761d7d4118]Robey Pointer
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-05-12[project @ robey@lag.net-20060512172544-f1cab2a1959987bf]Robey Pointer
fix new cygwin test failures reported by alexander
2006-05-03[project @ robey@lag.net-20060503163531-2297cd257acc51e5]Robey Pointer
make a slightly different exception for the expected mode on cygwin (why would they add support for some but not all of the unix mode bits? very odd)