summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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
2012-11-05Implement (& test for) ProxyCommand interpolation.Jeff Forcier
Forgot this earlier.
2012-11-05Add failing test(s) re ProxyCommand config parsingJeff Forcier
2012-10-15Refactoring: it's a thing. Re #85Jeff Forcier
2012-10-15Only override unittest assertions when absolutely necessary.Jeff Forcier
Fixes #85
2012-09-25Fix module import in testsJeff Forcier
2012-09-24Fixes to failing-test teardowns to avoid more exceptions or hangsJeff Forcier
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc) Conflicts: test.py
2012-09-24Handle/fix handling of EINTR errors in a few places.Douglas Turk
(cherry picked from commit 351bdb72e539c373985e108c89f61839f3acdd2a) Conflicts: paramiko/agent.py paramiko/client.py paramiko/transport.py
2012-09-23Fix #33 - parse config as described by manpageJan Brauer
(cherry picked from commit 011805eae07ee7be6140b95f6d8669763c55b3d9)
2012-09-23Fix broken testsJeff Forcier
(cherry picked from commit 00e1072ee5abbc92b5df57e10cadb638d583d971) Conflicts: tests/test_util.py
2012-09-23Remove comparison between int and strBobby Impollonia
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)
2010-08-03Use Crypto.Random rather than Crypto.Util.RandomPool.Gary van der Merwe
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-11-01bug 426925: lookup host keys correctly when they have a different port.Robey Pointer
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
2009-02-17bug 300536: allow a really long banner before the SSH handshake.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.
2008-07-06[project @ robey@lag.net-20080706203706-zqxb69qrcgyuf90n]Robey Pointer
allow multiple key files to be specified in SSHClient. suggested by Bernhard Walle.
2008-06-03[project @ robey@lag.net-20080604053906-vz5toqvlp5miqy1x]Robey Pointer
merge deadlog bugfix from dwayne litzenberger.
2008-03-23[project @ robey@lag.net-20080324065111-qv8icii767fqex9j]Robey Pointer
fix some unit tests for windows
2008-03-22[project @ robey@lag.net-20080323025751-de0lem9pi4oydt2g]Robey Pointer
bug 193779: catch EOFError in auth, and turn it into an auth exception. add a unit test to verify.
2008-03-22[project @ robey@lag.net-20080323020709-ub8ya3xkh1ebywfa]Robey Pointer
add exit_status_ready for justin cook.
2008-03-22[project @ robey@lag.net-20080323020309-9bjcp7l2ygdu49d2]Robey Pointer
slight tweak to test, make it verify the length too
2008-03-22[project @ robey@lag.net-20080323020054-ar5bmythf7fr5rgk]Robey Pointer
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.
2008-02-19[project @ robey@lag.net-20080220060030-jih2gfguzp6jbwog]Robey Pointer
verify WarningPolicy is exported
2008-02-17[project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]Robey Pointer
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
2008-02-17[project @ robey@lag.net-20080218024139-i2t8y0f0dd93xjo1]Robey Pointer
bug 189466: fix typo in osrandom.py (from patch in bug report) and add a friggin' unit test.
2008-01-23[project @ robey@lag.net-20080124045017-dfqiamorj356btrd]Robey Pointer
fix the utf-8 password bug for good (aka bug 177117) and add unit tests this time.
2008-01-23[project @ robey@lag.net-20080124014121-95bt9p4n4k8lw72i]Robey Pointer
remove some now-unneeded code.
2008-01-23[project @ robey@lag.net-20080124013849-jno9xkgwvvqrvuov]Robey Pointer
split auth tests into their own file, and clean up the remaining transport tests a bit (use existing refactoring).
2007-12-30[project @ robey@lag.net-20071231052950-8h599bnez3sgbf2e]Robey Pointer
patch from david guerizec for direct-tcpip forwarding support, and a unit test added by yours truly.
2007-12-30[project @ robey@lag.net-20071230220403-9c9735x0tfr88dd8]Robey Pointer
oops, fix typo.
2007-11-20[project @ robey@lag.net-20071120052527-hloi0b30yngbay0x]Robey Pointer
add send_ready() and a unit test.
2007-10-28[project @ robey@lag.net-20071029030520-ozmne7y4l6037m8h]Robey Pointer
bug discovered while porting to jaramiko: old-style gex wasn't creating the proper hash. fixed.
2007-10-28[project @ robey@lag.net-20071029030344-9adfzb9ulfodtepu]Robey Pointer
bug 157205: select() doesn't notify incoming stderr data, because stderr's pipe isn't hooked up to the fileno() BufferedPipe. to fix, i added an "or" pipe-event that can be triggered by either stdout or stderr, and hooked them both up to fileno(). added a unit test for the bug and one for the "or" pipe.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2007-02-12[project @ robey@lag.net-20070212183050-kaf5lvrbw46v9i59]Robey Pointer
improve x11 test and add a test for reverse port forwarding
2007-02-10[project @ robey@lag.net-20070211022553-mjbl0w7wygpl7os5]Robey Pointer
add another test to check out private key auth.
2006-12-27[project @ robey@lag.net-20061227194121-hzrmwbb6ea14unkg]Robey Pointer
once, this test failed, so add a timer
2006-12-15[project @ robey@lag.net-20061215222108-7pu0151970w1e1lp]Robey Pointer
add a ResourceManager to replace __del__ methods, and use it in SSHClient to automatically close any open transport when the SSHClient is collected. this won't work on Transport itself (to close the attached packetizer) because Transport starts up its own thread, and the threading library keeps a Transport object alive to run that thread. i think that's okay; the SSHClient interface is meant to be the easier one, so that's the one where it's important that some auto-cleanup is attempted.
2006-11-20[project @ robey@lag.net-20061121001117-8mf8zzltvfvzzrv7]Robey Pointer
add support for opening x11 channels, and a unit test
2006-11-20[project @ robey@lag.net-20061120192137-1rcpiiq9mcd58m76]Robey Pointer
reorder the closing of the pipe in Channel.close() to make sure it happens even when the channel is closed by the remote host first
2006-11-11[project @ robey@lag.net-20061112055617-098a150cf051bffa]Robey Pointer
try a trick that should let 'hostkeys[hostname][keytype] = key' work for HostKeys objects again.
2006-11-10[project @ robey@lag.net-20061111004413-7bab08f1bad7f96f]Robey Pointer
bug 70398: allow constructions like: hostkeys['hostname'] = {} to create an empty host entry object, so that future attempts to set keys will at least not throw an exception. (they'll still silently do nothing, though.)
2006-10-14[project @ robey@lag.net-20061015012126-36370734592aff17]Robey Pointer
might as well assert this
2006-09-07[project @ robey@lag.net-20060908022816-ea2856cefb9d83e0]Robey Pointer
fix from john arbash-meinel for the stub sftp server's default open mode