summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2018-09-17One change overlooked by merge, as it's newJeff Forcier
2018-09-17Blacken 2.1 branchJeff Forcier
2018-09-17Merge branch '2.0' into 2.1Jeff Forcier
2018-09-17Throwing a bone to 2.0-2.3 python-2.6 supportJeff Forcier
2018-09-17Blacken 2.0 with black 18.6b4Jeff Forcier
2018-09-17May have goofed up a cherry-pick earlier?Jeff Forcier
2018-09-17Mark known slow tests as 'slow' pytest marker, and skip them by defaultJeff Forcier
2018-09-17Try turning off session scope for sftp_server fixture.Jeff Forcier
Yesterday, this SEEMED like it did not make a difference in ability to reproduce hangs. Today...it seems to make a big difference? So confuse.
2018-09-17Allow disabling loggingJeff Forcier
2018-09-17Better test dir cleanupJeff Forcier
2018-09-17Comment tweakJeff Forcier
2018-09-17Why were these +x?Jeff Forcier
2018-09-17Naturally, more tests I found that do not pass/fail correctly. Skip for nowJeff Forcier
2018-09-17Was missing another needs_gssapiJeff Forcier
2018-09-17Tidy up tempdir creation for now. FuckitJeff Forcier
2018-09-17Whoops, most uses of skipif REQUIRE reason=Jeff Forcier
2018-09-17Replace rest of unittest-style self-asserts in sftp testsJeff Forcier
2018-09-17Start overhauling regular SFTP suite.Jeff Forcier
Includes attempt to split out the longer-lived server component from the client component, in fixtures Also starts tweaking early tests so they're less bad. E.g. test_2_close had its docstring actively disagreeing with its code (which was super confusing since both were committed at the same time in 2005...)
2018-09-17Remove old Python 3.2 codeHugo
2018-09-17Tweak test-level logging format to include timestampsJeff Forcier
2018-09-17Scope SFTP client/server fixture to be session-level for nowJeff Forcier
Saves at least a few seconds per module this way and not super worried about state bleed so far
2018-09-17Get big sftp tests passing w/ the sftp client + folder crap being a fixtureJeff Forcier
2018-09-17Get sftp-big tests apparently passing.Jeff Forcier
Very slowly. Pretty sure we will want to retain module-level fixtures for that stuff. heh.
2018-09-17Import cleanup, mostly focused on s/tests/./Jeff Forcier
2018-09-17Rename util func that trips pytest's default discovery.Jeff Forcier
Wouldn't matter as much under pytest-relaxed discovery, but, eh
2018-03-12Initial tests proving CVE-2018-7750 / #1175Jeff Forcier
2018-03-12Allow overriding test client connect kwargs in Transport test suiteJeff Forcier
2018-03-12Merge branch '2.0' into 2.1Jeff Forcier
2018-03-12Initial tests proving CVE-2018-7750 / #XXXJeff Forcier
2018-03-12Allow overriding test client connect kwargs in Transport test suiteJeff Forcier
2017-09-12Merge branch '2.0' into 2.1Jeff Forcier
2017-09-12Merge branch '2.0' into 1061-intJeff Forcier
2017-08-04AuthHandler: fix the server-mode "gssapi-with-mic" logicAnselm Kruis
A paramiko server is now able to handle a restart of the user authentication during the GSS-API token exchange. This may occur, if the client detects a local GSSAPI problem (e.g. a missing kerberos ticket) and continues with another authentication method. The added test case test_2_auth_trickledown still fails, because the paramiko client contains a bug too.
2017-08-04Merge branch '2.0-gsskex-hostkeycheck-fix' into 2.1-gsskex-hostkeycheck-fixAnselm Kruis
2017-08-04SSHClient: fix the host key testAnselm Kruis
Skip the host key check only, if the transport actually used gssapi-keyex. Add tests for the missing-host-key RejectPolicy. Before this change, a man-in-the-middle attack on the paramiko ssh client with gss_kex=True was possible by having a server that does not support gssapi-keyex and gives any or no host key.
2017-06-09Merge branch '2.1' into 910-intJeff Forcier
2017-06-09Merge branch '2.0' into 2.1Jeff Forcier
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 2.1Jeff Forcier
2017-06-09Merge branch '2.0' into 952-intJeff Forcier
2017-06-07tests for host key negotiation when there are multiplePierce Lopez
2017-06-06Merge branch '2.0' into 2.1Jeff Forcier
2017-06-06Hand-picked backport of #912, fixes #741Jeff Forcier
2017-06-05Merge branch '2.0' into 2.1Jeff Forcier
2017-06-05test transport security options can be set to defaultsPierce Lopez
ensures all defaults key/cipher/digest etc types are supported