Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Conflicts:
paramiko/proxy.py
|
|
(cherry picked from commit d516fe71ea1d8bdb7b2e278fa519f7f860d7e234)
|
|
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc)
Conflicts:
test.py
|
|
|
|
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
|
|
bump copyright year to 2007
|
|
an errant slash was making unit tests unrunnable on windows
|
|
use python from env for unit tests
|
|
clean up test.py a bit and allow filtering from the command line
|
|
add unit tests for SSHClient, and fix a few bugs that uncovered
|
|
oops, don't forget BufferedPipe unit tests
|
|
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
|
|
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
|
|
experimental util functions for parsing/getting openssh host config, and unit tests (turned out to be pretty easy)
|
|
turn down output for unit tests by default, but add --verbose option to manually crank them back up
|
|
add unit tests for the packetizer, and fix a little locking bug where i think more of the packetizer write function should be inside a lock
|
|
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.
|
|
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.
|
|
make loopback sftp tests the default
change the unit tests to default to always running the sftp tests locally,
and make a -R option to force the tests to run against a remote server.
the tests seem to work fine locally, and it helps test out server mode,
even though there's a danger that they could get isolated from reality
and only test that paramiko can talk to itself.
|
|
loopback sftp test
add ability to turn off more tests, and a secret (for now) -X option to do
the sftp tests via loopback socket. added another symlink sftp test to see
what happens with absolute symlinks.
|
|
add key exchange tests + 1 more sftp test
add test suite for key-exchange protocols, since i apparently broke the
"gex" protocol recently and never noticed. also add an sftp unit test for
mkdir/rmdir.
|
|
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.
|
|
fix test.py to use options instead of env vars, sftp tests default off
fix up the test framework so that the sftp unit tests aren't always run (you
have to ask for them explicitly) and they take their configuration from
command-line options. they still require a remote server.
|
|
no more Foobar
fix "Foobar" to be "Paramiko" in the one place i missed it in all the gpl
headers. sigh. :)
|
|
add unit tests
add unit tests for BufferedFile and SFTP (it's a start). remove the demo sftp
client because it was 99% copied from the other demos, which makes it kinda
confusing. the unit tests are a much better example.
|