summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
AgeCommit message (Collapse)Author
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-04-23Add regression test protecting against an issue found in #394.Jeff Forcier
Putting it in prior to merge of #394 because it also serves as a good explicit test of behavior which was previously implicit
2016-04-23Set look_for_keys=False in client tests to avoid loading real user keys.Jeff Forcier
Re #394 but also feels like good practice anyways
2015-11-06Hacky cleanup of non-gc'd clients in a loopy test.Jeff Forcier
Re #612
2015-11-03Merge branch 'master' into 502-intJeff Forcier
2015-03-20Commit 838e02ab42 changed the type of the exec command string on python3Anselm Kruis
from unicode to bytes. This commit adapts the test suite accordingly.
2014-12-17Use modern api to check if event is set.Olle Lundberg
Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
2014-09-10Merge branch 'master' into 216-intJeff Forcier
Conflicts: paramiko/transport.py paramiko/util.py tests/test_client.py
2014-09-08Merge branch 'master' into 362-intJeff Forcier
Conflicts: tests/test_client.py
2014-09-08Merge branch 'master' into 373-intJeff Forcier
Conflicts: paramiko/channel.py
2014-09-07Convert SSHClient into a context managerMichael Williamson
2014-09-06Bah humbugJeff Forcier
2014-09-05Yup, that was indeed too fucking clever. Bad bitprophet!Jeff Forcier
2014-09-05Fix a Python 3 encoding dealieJeff Forcier
2014-09-05Forgot to actually implement allowed-keys/reverse testingJeff Forcier
2014-09-05Add a couple more permutationsJeff Forcier
2014-09-05Overhaul multi-key test to set up multiple scenariosJeff Forcier
2014-09-05Factor fingerprint data out of classJeff Forcier
2014-09-05More cleanup to support ECDSA key, and now it works!Jeff Forcier
2014-09-05Add RSA key fingerprint, now that test passesJeff Forcier
2014-09-05Set things up for cleaner test key tomfooleryJeff Forcier
2014-09-05Add an explicit RSA test, which fails (!)Jeff Forcier
2014-09-05Refactor horrible old copypastaJeff Forcier
2014-09-05Add a (failing :() test re: ECDSA private keysJeff Forcier
Re #218
2014-08-15Document what is breaking in the client tests.Olle Lundberg
2014-08-14Use a shorter timeout in banner timeout test.Cory Benfield
2014-08-14Test banner timeout.Cory Benfield
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2014-03-07Skip failing test on Py3Jeff Forcier
2014-01-16Fix new test for Py3 and start server in tests instead of in setUp so we can ↵Scott Maxwell
skip starting server for test 5
2014-01-16Merge remote-tracking branch 'master/master' into py3-support-without-py25Scott Maxwell
Conflicts: paramiko/__init__.py setup.py tests/test_client.py
2014-01-08Saner (to me) positive assertionJeff Forcier
2014-01-08Small refactorJeff Forcier
2014-01-08No need for 'self.tc' within a single test :)Jeff Forcier
2014-01-08Add a testcase for client.save_host_keys.Martin Blumenstingl
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-02Make sftp.open handle binary and text, more type conversionScott Maxwell
2013-11-01Changes inspired by the nischu7 branchScott Maxwell
2013-10-31More type conversionScott Maxwell
2013-10-30Fix message sendingScott Maxwell
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30Use test_path to avoid relative path issuesScott Maxwell
2013-10-30Fix importsScott Maxwell
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2012-09-24Fixes to failing-test teardowns to avoid more exceptions or hangsJeff Forcier
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc) Conflicts: test.py
2009-11-01bug 426925: lookup host keys correctly when they have a different port.Robey Pointer
2009-07-19fix my email address to be the current one.Robey Pointer
2008-07-06[project @ robey@lag.net-20080706203706-zqxb69qrcgyuf90n]Robey Pointer
allow multiple key files to be specified in SSHClient. suggested by Bernhard Walle.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2007-02-10[project @ robey@lag.net-20070211022553-mjbl0w7wygpl7os5]Robey Pointer
add another test to check out private key auth.