summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2017-06-09Flake8/etc tweaks re #971 in 2.xJeff Forcier
2017-06-09Allow any buffer type to be written to SFTPFileMartin Packman
Fixes #967 #968 Rollup of earlier branches proposed as #969 and #970 with additional fix inside sftp_client. Includes new tests for SFTPFile usage. Change against the 1.17 branch.
2017-06-09Allow any buffer type to be sent to ChannelMartin Packman
Fixes #968 Changes the behaviour of the underlying asbytes helper to pass along unknown types. Most callers already handle this by passing the bytes along to a file or socket-like object which will raise TypeError anyway. Adds test coverage through the Transport implementation. Change against the 1.17 branch.
2017-06-09Import from py3compat directly in test_clientMartin Packman
2017-06-09Allow any buffer type to written to BufferedFileMartin Packman
Fixes #967 Also adds test coverage for writing various types to BufferedFile which required some small changes to the test LoopbackFile subclass. Change against the 1.17 branch.
2017-06-09Add new skipUnlessBuiltin function for testingMartin Packman
2017-06-09Merge branch '2.0' into 952-intJeff Forcier
2017-06-06Hand-picked backport of #912, fixes #741Jeff Forcier
2017-06-05test transport security options can be set to defaultsPierce Lopez
ensures all defaults key/cipher/digest etc types are supported
2017-06-02re-enable client cleanup test for python3Pierce Lopez
2017-06-01Test & impl for truly functional HostKeys.__delitem__Jeff Forcier
2017-06-01Remove unused value from demo/test.Jeff Forcier
Honestly not sure WTF
2017-05-31Even moar parentheses over backslashesJeff Forcier
2017-05-31Additional house style formatting tweaks, mostly re: removal of line ↵Jeff Forcier
continuations
2017-02-20This is awful and I hate my lifeJeff Forcier
2017-02-20Test proving #853, fails on Python 3 but not 2Jeff Forcier
2017-02-20Avoid PacketizerTest.test_closed_3 to fail on platforms where errno.ETIMESofian Brabez
is not defined This changes define the proper Timer expired error message instead of raising AttributeError when errno.ETIME is not available on the platform. fixes #862
2017-01-24untie agian!james mike dupont
2016-12-12Remove code re #398 from 2.0 branch, as it's feature workJeff Forcier
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Merge branch '1.17' into 1.18Jeff Forcier
2016-12-05Looks like skipIf was added in 2.7? Dies on 2.6Jeff Forcier
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Merge branch '1.17' into 1.18Jeff Forcier
2016-12-05skip test on windows - no SIGALRM.Gabi Davar
2016-12-05Merge branch '1.18' into 2.0Jeff Forcier
2016-12-05Just get rid of the frickin' numbers.Jeff Forcier
Every other merge screws them up anyway.
2016-12-05Add tests for ~ expansion inside proxycommandqqo
2016-12-05Support transmission of environment variablesPhilip Lorenz
The SSH protocol allows the client to transmit environment variables to the server. This is particularly useful if the user wants to modify the environment of an executed command without having to reexecute the actual command from a shell. This patch extends the Client and Channel interface to allow the transmission of environment variables to the server side. In order to use this feature the SSH server must accept environment variables from the client (e.g. the AcceptEnv configuration directive of OpenSSH). FROM BITPROPHET: backport cherry-pick to 1.x line
2016-06-12Merge branch '1.17' into 2.0Jeff Forcier
2016-06-12Merge branch '1.16' into 1.17Jeff Forcier
2016-06-12Update fake test socket objects to exhibit Python 3 socket-closed flagJeff Forcier
Re #520
2016-06-10Merge branch '1.17' into 2.0Jeff Forcier
2016-06-09Merge branch '1.16' into 1.17Jeff Forcier
2016-06-09Issue #537 reproduction test and fixKrzysztof Rusek
2016-04-25Formatting tweaks re #731Jeff Forcier
2016-04-25Merge branch 'master' into 731-intJeff Forcier
2016-04-25Merge branch '1.16' into 1.17Jeff Forcier
2016-04-25Merge branch '1.17'Jeff Forcier
2016-04-25Merge branch '1.15' into 1.16Jeff Forcier
2016-04-25Test & implementation for part 1 re: #670Jeff Forcier
2016-04-25Add support for ECDSA key sizes 384 and 521 alongside the existing 256.Alex Orange
Previously only 256-bit was handled and in certain cases (private key reading) 384- and 521-bit keys were treated as 256-bit keys causing silent errors. Tests have been added to specifically test the 384 and 521 keysizes. As RFC 5656 defines 256, 384, and 521 as the required keysizes this seems a good set to test. Also, this will cover the branches at ecdsakey.py:55. Test keys were renamed and test_client.py was modified as a result. This also fixes two bugs in ecdsakey.py. First, when calculating bytes needed to store a key, the assumption was made that the key size (in bits) was divisible by 8 (see line 137). This has been fixed by rounding up (wasn't an issue as only 256-bit keys were used before). Another bug was that the key padding in asbytes was being done backwards (was padding on current_length - needed_length bytes).
2016-04-24Merge branch 'master' into 394-intJeff Forcier
2016-04-24Merge branch '1.16'Jeff Forcier
2016-04-24Python 2.6 fix re: assertInJeff Forcier
2016-04-24Improve NoValidConnectionsError formattingMarius Gedminas
Because "Unable to connect to port 22 on or X.X.X.X" looks seriously _weird_ with the blank space between "on" and "or".
2016-04-24Make NoValidConnectionsError picklable correctlyMarius Gedminas
Fixes #617.
2016-04-23Merge branch '1.16'Jeff Forcier
2016-04-23Merge branch '1.15' into 1.16Jeff Forcier
2016-04-23Update existing test to prove #632Jeff Forcier