summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix logging error in sftp_client for filenames containing the character.Jeff Forcier2014-04-161-0/+23
| | | | | | | | | | | | | | 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
* Saner (to me) positive assertionJeff Forcier2014-01-081-1/+4
|
* Small refactorJeff Forcier2014-01-081-3/+5
|
* No need for 'self.tc' within a single test :)Jeff Forcier2014-01-081-6/+6
|
* Add a testcase for client.save_host_keys.Martin Blumenstingl2014-01-081-1/+25
|
* Merge branch '1.9' into 1.10Jeff Forcier2013-09-2715-15/+15
|\
| * Merge branch '1.8' into 1.9Jeff Forcier2013-09-2715-15/+15
| |\
| | * Fixed a typo in the license header of most filesJeff Forcier2013-09-2715-15/+15
| | | | | | | | | | | | | | | Conflicts: paramiko/proxy.py
* | | Fix #179 - missing host variable in fqdn evaluationJeff Forcier2013-09-271-0/+11
| | |
* | | Adding test capturing desired behavior and demonstrating issue #142.Jason R. Coombs2013-03-041-0/+14
| | |
* | | Delint test_sftp (remove unused imports and unused variables, remove excess ↵Jason R. Coombs2013-03-041-13/+7
| | | | | | | | | | | | | | | | | | | | | whitespace, move imports to top, remove semicolon terminator) --HG-- extra : source : 01df712a396de5fa7e1c0cc265411fdb2bbc5f41
* | | Fix broken test.Olle Lundberg2013-02-281-4/+4
| | |
* | | Add tests for identityfile parsing.Olle Lundberg2013-02-281-1/+30
| | |
* | | Whitespace fixes.Olle Lundberg2013-02-281-1/+3
| | |
* | | Add tests for proxycommand parsing.Olle Lundberg2013-02-281-0/+27
| | |
* | | Add test for host negation.Olle Lundberg2013-02-281-0/+22
| | |
* | | Updated tests for new ssh config format.Olle Lundberg2013-02-281-10/+19
| | |
* | | Replace useless version check with import from __future__Michael Williamson2013-01-051-4/+2
| | |
* | | Verify Python version >= 2.6 before running context manager testMichael Williamson2013-01-051-0/+4
| | |
* | | Turn SFTPFile into a context managerMichael Williamson2013-01-041-0/+11
|/ /
* | Implement (& test for) ProxyCommand interpolation.Jeff Forcier2012-11-051-1/+27
| | | | | | | | Forgot this earlier.
* | Add failing test(s) re ProxyCommand config parsingJeff Forcier2012-11-051-1/+21
|/
* Refactoring: it's a thing. Re #85Jeff Forcier2012-10-154-23/+17
|
* Only override unittest assertions when absolutely necessary.Jeff Forcier2012-10-151-2/+4
| | | | Fixes #85
* Fix module import in testsmerge-ssh-fork-back-inJeff Forcier2012-09-251-6/+6
|
* Fixes to failing-test teardowns to avoid more exceptions or hangsJeff Forcier2012-09-241-5/+3
| | | | | | | (cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc) Conflicts: test.py
* Handle/fix handling of EINTR errors in a few places.Douglas Turk2012-09-241-0/+26
| | | | | | | | | (cherry picked from commit 351bdb72e539c373985e108c89f61839f3acdd2a) Conflicts: paramiko/agent.py paramiko/client.py paramiko/transport.py
* Fix #33 - parse config as described by manpageJan Brauer2012-09-231-0/+18
| | | | (cherry picked from commit 011805eae07ee7be6140b95f6d8669763c55b3d9)
* Fix broken testsJeff Forcier2012-09-231-6/+13
| | | | | | | (cherry picked from commit 00e1072ee5abbc92b5df57e10cadb638d583d971) Conflicts: tests/test_util.py
* Remove comparison between int and strBobby Impollonia2012-09-231-6/+2
| | | | | | | | | | | | | | The code had been doing 'n < self.__in_buffer' when it wanted to be doing 'n < len(self.__in_buffer)' In Python 2.x, this comparison (int < str) is always True. I found this while porting to Python 3 where it raises an error. The code has been working without complaints because always taking the true branch of this conditional is actually fine. We don't need the false branch, so drop the check entirely. (cherry picked from commit 0a013f829e9eb20fb037a2ac06c230d9074fbe90)
* Use Crypto.Random rather than Crypto.Util.RandomPool.Gary van der Merwe2010-08-033-13/+12
|
* code style and fix test.Robey Pointer2010-04-131-4/+4
|
* added functionality to skip verifying the file, which works around sftp ↵Larry Wright2009-12-181-0/+28
| | | | servers that remove the file immediately after it's been closed.
* bug 426925: lookup host keys correctly when they have a different port.Robey Pointer2009-11-011-19/+19
|
* bug 411099: chdir() isn't saving the cwd in a normalized way. added test.Robey Pointer2009-10-311-22/+34
|
* fix my email address to be the current one.Robey Pointer2009-07-1915-15/+15
|
* bug 300536: allow a really long banner before the SSH handshake.Robey Pointer2009-02-171-0/+31
|
* [project @ robey@lag.net-20080706230815-v2ybqxm237zw0wa0]Robey Pointer2008-07-061-2/+8
| | | | | add a callback method that can be used to track get/put progress in SFTPClient. suggested by Phil Schwartz.
* [project @ robey@lag.net-20080706203706-zqxb69qrcgyuf90n]Robey Pointer2008-07-061-2/+19
| | | | | allow multiple key files to be specified in SSHClient. suggested by Bernhard Walle.
* [project @ robey@lag.net-20080604053906-vz5toqvlp5miqy1x]Robey Pointer2008-06-031-0/+160
| | | | merge deadlog bugfix from dwayne litzenberger.
* [project @ robey@lag.net-20080324065111-qv8icii767fqex9j]Robey Pointer2008-03-231-4/+6
| | | | fix some unit tests for windows
* [project @ robey@lag.net-20080323025751-de0lem9pi4oydt2g]Robey Pointer2008-03-221-2/+18
| | | | | | bug 193779: catch EOFError in auth, and turn it into an auth exception. add a unit test to verify.
* [project @ robey@lag.net-20080323020709-ub8ya3xkh1ebywfa]Robey Pointer2008-03-221-0/+7
| | | | add exit_status_ready for justin cook.
* [project @ robey@lag.net-20080323020309-9bjcp7l2ygdu49d2]Robey Pointer2008-03-221-2/+3
| | | | slight tweak to test, make it verify the length too
* [project @ robey@lag.net-20080323020054-ar5bmythf7fr5rgk]Robey Pointer2008-03-221-0/+7
| | | | | | in the test that verifies key renegotiation during a large file "put", also do a "get" of the large file (with prefetch) to verify that nothing screwy happens.
* [project @ robey@lag.net-20080220060030-jih2gfguzp6jbwog]Robey Pointer2008-02-191-0/+1
| | | | verify WarningPolicy is exported
* [project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]Robey Pointer2008-02-173-0/+9
| | | | merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
* [project @ robey@lag.net-20080218024139-i2t8y0f0dd93xjo1]Robey Pointer2008-02-171-0/+6
| | | | | bug 189466: fix typo in osrandom.py (from patch in bug report) and add a friggin' unit test.
* [project @ robey@lag.net-20080124045017-dfqiamorj356btrd]Robey Pointer2008-01-231-53/+56
| | | | | fix the utf-8 password bug for good (aka bug 177117) and add unit tests this time.
* [project @ robey@lag.net-20080124014121-95bt9p4n4k8lw72i]Robey Pointer2008-01-231-38/+0
| | | | remove some now-unneeded code.