summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Issue #537 reproduction test and fixKrzysztof Rusek2016-06-091-0/+18
|
* Merge branch '1.15' into 1.16Jeff Forcier2016-04-251-0/+30
|\
| * Test & implementation for part 1 re: #670Jeff Forcier2016-04-251-0/+30
| |
* | Python 2.6 fix re: assertInJeff Forcier2016-04-241-3/+4
| |
* | Improve NoValidConnectionsError formattingMarius Gedminas2016-04-241-1/+16
| | | | | | | | | | Because "Unable to connect to port 22 on or X.X.X.X" looks seriously _weird_ with the blank space between "on" and "or".
* | Make NoValidConnectionsError picklable correctlyMarius Gedminas2016-04-241-0/+15
| | | | | | | | Fixes #617.
* | Merge branch '1.15' into 1.16Jeff Forcier2016-04-231-2/+2
|\ \ | |/
| * Update existing test to prove #632Jeff Forcier2016-04-231-2/+2
| |
* | Merge branch '1.15' into 1.16Jeff Forcier2016-04-221-1/+17
|\ \ | |/
| * Hack in a sleep() to avoid race conditions during timeout test.Jeff Forcier2016-04-221-1/+17
| | | | | | | | (HOPEFULLY) closes #612
* | Merge branch '1.15' into 1.16Jeff Forcier2016-01-191-4/+5
|\ \ | |/
| * Merge branch '1.14' into 1.15Jeff Forcier2016-01-191-4/+5
| |\
| | * Merge branch '1.13' into 1.14Jeff Forcier2016-01-191-4/+5
| | |\
| | | * Update SSHConfig.parse to strip leading and trailing whitespaceNick Pillitteri2016-01-081-4/+5
| | | | | | | | | | | | | | | | Fixes #499
* | | | Merge branch '1.15' into 1.16Jeff Forcier2015-11-061-6/+12
|\ \ \ \ | |/ / /
| * | | Hacky cleanup of non-gc'd clients in a loopy test.Jeff Forcier2015-11-061-6/+12
| | | | | | | | | | | | | | | | Re #612
* | | | Merge branch 'master' into 562-intJeff Forcier2015-11-046-9/+153
|\ \ \ \
| * \ \ \ Merge branch 'master' into 502-intJeff Forcier2015-11-0316-181/+1071
| |\ \ \ \
| | * \ \ \ Merge branch '1.15'Jeff Forcier2015-11-021-0/+5
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '1.14' into 1.15Jeff Forcier2015-11-021-0/+5
| | | |\ \ \ | | | | |/ /
| | | | * | Merge branch '1.13' into 1.14Jeff Forcier2015-11-021-0/+5
| | | | |\ \ | | | | | |/
| | | | | * Added test for str() of empty SFTPAttributes()Ulrich Petri2015-11-021-0/+5
| | | | | |
| | * | | | Merge branch 'master' into 596-intJeff Forcier2015-10-3011-40/+75
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '1.15' into 491-intJeff Forcier2015-09-302-4/+5
| | | |\ \ \
| | | | * | | Silently ignore invalid keys in HostKeys.load()Martin Topholm2015-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When broken entries exists in known_hosts, paramiko raises SSHException with "Invalid key". This patch catches the exception during HostKeys.load() and continues to next line. This should fix #490.
| | | | * | | Revert add_int and get_int to strictly 32-bits and add adaptive versionsScott Maxwell2015-01-261-4/+4
| | | | | | |
| | | * | | | Expose handshake timeout in the transport API.Olle Lundberg2015-02-241-0/+17
| | | |/ / / | | | | | | | | | | | | | | | | | | This is a reimplementation of #62.
| | * | | | Merge upstream branch 'master' into add_sha2_supportMatthias Witte2014-11-2513-129/+889
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: paramiko/transport.py tests/test_transport.py
| | * | | | | Include sha2 changes in testsMatthias Witte2014-07-162-2/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - let _compute_key default default to sha1 if local_mac is not set instead of setting local_mac explicitly in the unit test - add tests for KexGexSHA256
| | * | | | | Fix transport testMatthias Witte2014-07-151-1/+5
| | | | | | |
| * | | | | | Commit 838e02ab42 changed the type of the exec command string on python3Anselm Kruis2015-03-202-2/+2
| | | | | | | | | | | | | | | | | | | | | from unicode to bytes. This commit adapts the test suite accordingly.
| * | | | | | According to RFC 4254 sec 6.5 the "command" string of an "exec" channelAnselm Kruis2015-03-201-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request is a byte-string. Previously paramiko assumed "command" to be UTF-8 encoded. Invalid UTF-8 sequences caused an UnicodeDecodeError. This commit changes a test case to uses a non UTF-8 string and fixes the bug.
* | | | | | prefetch now requires file_size to be passed in as a parameterTorkil Gustavsen2015-07-232-7/+14
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | Calling stat from inside the prefetch-body has led users to receive IOError: The message [<filename>] is not extractable.
* | | | | Suggest a MIN_WINDOW_SIZE and MIN_PACKET_SIZEJeff Quast2014-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not fully confident with this change, though I will describe my findings fully in the pull request. The OpenSSH client requests a maximum packet size of 16384, but this MIN_PACKET_SIZE value of 32768 causes its request to be "clamped" up to 32768, later causing an error to stderr on the OpenSSH client. Suggest then, to delineate MIN_WINDOW_SIZE from MIN_PACKET_SIZE, as they are applied. I don't think there is any minimum value of MIN_PACKET_SIZE, however we can suggest a value of 4096 for now.
* | | | | Merge branch '1.14' into 1.15Jeff Forcier2014-12-171-1/+5
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: sites/www/changelog.rst
| * | | | Merge branch '1.13' into 1.14Jeff Forcier2014-12-171-1/+5
| |\ \ \ \ | | |/ / /
| | * | | Refactoringachapp2014-12-171-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Added comments. Removed fifth line from test because it was unnecessary since the final line could be used instead.
| | * | | new readline test passesachapp2014-12-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed file.py readline() to always check for a newline. Had to make a few changes for what went into self._rbuffer in the case where buffer size was met or exceeded and we found a newline.
| | * | | Test update/Fix progress temp saveachapp2014-12-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Edited test to catch readline error. file.py code change in progress (DOES NOT WORK PROPERLY) so saving it temporarily.
* | | | | Added check for proxycommand none and associated test as per Paramiko Issue 415Sean Johnson2014-12-171-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/test_util.py
* | | | | Use modern api to check if event is set.Olle Lundberg2014-12-175-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
* | | | | Merge branch 'master' into 419-intJeff Forcier2014-12-171-2/+13
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch '1.15'Jeff Forcier2014-11-121-2/+13
| |\ \ \ \
| | * \ \ \ Merge branch '1.14' into 1.15Jeff Forcier2014-11-121-2/+13
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | Conflicts: tests/test_util.py
| | | * | | Merge branch '1.13' into 1.14Jeff Forcier2014-11-121-2/+13
| | | |\ \ \ | | | | |/ /
| | | | * | Failing test proving #429Jeff Forcier2014-11-121-2/+13
| | | | | |
* | | | | | Converted all staticmethod/classmethod instances to decorators.Jacob Beck2014-10-144-13/+6
|/ / / / /
* | | | | Merge branch '1.15'Jeff Forcier2014-09-221-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | Conflicts: sites/www/changelog.rst
| * | | | Use keyword arguments for arguments when creating a Transport.Dylan Thacker-Smith2014-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes #399
* | | | | SSHConfig.get_hostnames: List literal hostnames from SSH configSøren Løvborg2014-09-191-0/+5
|/ / / /