summaryrefslogtreecommitdiffhomepage
path: root/tests/test_transport.py
AgeCommit message (Collapse)Author
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-19Change all exceptions to modern format (not Py2.5 compatible)Scott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-01Fixes for Python 2.5 and Python 3.2 supportScott Maxwell
2013-11-01Eliminate all uses of b'' syntax to allow for Python 2.5 supportScott Maxwell
2013-10-31More type conversionScott Maxwell
2013-10-31More type fixupsScott Maxwell
2013-10-30Convert and detect types properly, use helper constants, use StringIO and rangeScott 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-30Fix dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell
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-10-15Refactoring: it's a thing. Re #85Jeff Forcier
2012-10-15Only override unittest assertions when absolutely necessary.Jeff Forcier
Fixes #85
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-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-20080323020709-ub8ya3xkh1ebywfa]Robey Pointer
add exit_status_ready for justin cook.
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-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-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
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-10-14[project @ robey@lag.net-20061015012126-36370734592aff17]Robey Pointer
might as well assert this
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-05-09[project @ robey@lag.net-20060509164549-14e664f234b4b747]Robey Pointer
new parent exception for all auth failures, and new specific exception for bad host key
2006-05-07[project @ robey@lag.net-20060507230153-dba6b2d664b5ef3f]Robey Pointer
channel operations raise an exception on error now instead of returning a bool
2006-05-03[project @ robey@lag.net-20060504025237-a015ee747d9a2e75]Robey Pointer
if open_channel fails, it now raises ChannelException. added a unit test for that too. renegotiate_keys will also raise an exception now instead of returning a bool.
2005-12-03[project @ robey@ralph.lag.net-20051204043258-3d82f58e781edf13]Robey Pointer
add unit test for compression
2005-10-29[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-72]Robey Pointer
don't attempt to start a rekey negotiation from within send_message -- always do it from the feeder thread. this prevents a situation where more than one thread may decide spontaneously to rekey, sending multiple kexinit messages, which confuses the hell out of the remote host :) also, do some locking around the clear-to-send event, to avoid a race when we first go into rekeying. add some tests for these things too
2005-09-27[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-61]Robey Pointer
add server-side support for keyboard-interactive auth, and a couple of unit tests
2005-07-14[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-39]Robey Pointer
bulletproof the select test in test_transport more
2005-06-28[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-17]Robey Pointer
more unit tests
2005-05-01[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-5]Robey Pointer
split out Packetizer, fix banner detection bug, new unit test split out a chunk of BaseTransport into a Packetizer class, which handles the in/out packet data, ciphers, etc. it didn't make the code any smaller (transport.py is still close to 1500 lines, which is awful) but it did split out a coherent chunk of functionality into a discrete unit. in the process, fixed a bug that alain spineux pointed out: the banner check was too forgiving and would block forever waiting for an SSH banner. now it waits 5 seconds for the first line, and 2 seconds for each subsequent line, before giving up. added a unit test to test keepalive, since i wasn't sure that was still working after pulling out Packetizer.
2005-02-28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer
even better 1.2 lapras re-bump the version # to 1.2 (with a new date since i added more stuff). add 2005 to the copyright date in a bunch of files.
2005-02-15[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-146]Robey Pointer
raise better exception on empty key raise a clearer exception when trying to create an empty key.
2004-12-13[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-133]Robey Pointer
unit test madness add some more testy bits and fix up some other bits.
2004-12-12[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-128]Robey Pointer
more unit tests added unit tests for multi-part auth, exec_command, and invoke_shell.
2004-12-11[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-123]Robey Pointer
clean up authentication add new exception "BadAuthenticationType", which is raised when auth fails because your auth type (password or public-key) isn't valid on the server. used this as an excuse to clean up auth_password and auth_publickey so their 'event' arg is optional, and if missing, they block until auth is finished, raising an exception on error. also, don't close the session on failed auth -- the server may let you try again. added some test cases for failed auth.
2004-10-20[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-94]Robey Pointer
start testing Transport the beginnings of tests for Transport. only the bare minimum is there right now. also started doc'ing things up to ivysaur.