summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2006-05-12[project @ robey@lag.net-20060512172544-f1cab2a1959987bf]Robey Pointer
fix new cygwin test failures reported by alexander
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-20060508005224-a8a04cd59f9fa016]Robey Pointer
pulled out openssh config parsing into its own class
2006-05-07[project @ robey@lag.net-20060508002007-3b7b87c361fe876a]Robey Pointer
add unit tests for SSHClient, and fix a few bugs that uncovered
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.
2006-05-03[project @ robey@lag.net-20060503163531-2297cd257acc51e5]Robey Pointer
make a slightly different exception for the expected mode on cygwin (why would they add support for some but not all of the unix mode bits? very odd)
2006-05-01[project @ robey@lag.net-20060502002709-617a268779f7ca6b]Robey Pointer
readv should just yield results as it gets them (suggestion from robertc)
2006-04-28[project @ robey@lag.net-20060428172401-ad8da020daedd941]Robey Pointer
2 more unit test bugs found by alexander (can't change atime on win32)
2006-04-20[project @ robey@lag.net-20060420072722-924a44953b8d9919]Robey Pointer
tweak a test that relied too much on timing
2006-04-20[project @ robey@lag.net-20060420072627-958cad5e36cb8ecc]Robey Pointer
fix a bug where prefetch() at EOF would throw an exception, and add a unit test
2006-04-11[project @ robey@lag.net-20060411224806-2683ac099f9608ae]Robey Pointer
add a test that feed/read can happen piecemeal
2006-04-11[project @ robey@lag.net-20060411073946-8830b560b276266f]Robey Pointer
factor out BufferedPipe into its own class
2006-04-08[project @ robey@lag.net-20060408222456-d3813e0206a2cda7]Robey Pointer
assertTrue doesn't exist in py23
2006-04-06[project @ robey@lag.net-20060406181821-68f9bc13b3580d37]Robey Pointer
some fixes for win32: potential fix for lockup during failed tests; don't try chmod/chown or symlinks; fix canonicalize to convert dos-style path separators to '/'; open local files in binary mode; close a file before erasing it
2006-03-26[project @ robey@lag.net-20060327001726-7ccb095fd5c416f5]Robey Pointer
roll in some changes from bzr that may be necessary to get stub_sftp to work on windows
2006-03-26[project @ robey@lag.net-20060326204635-1c5418c54187b95d]Robey Pointer
fix exception-catching error found by alexander belchenko
2006-03-11[project @ robey@lag.net-20060312040732-8d16f6c42f12f138]Robey Pointer
document readv, fix thinko, and add a readv unit test
2006-03-11[project @ robey@lag.net-20060312040633-92b1c78bf815905d]Robey Pointer
add test to verify that 'for x in hostkeys' works
2006-03-09[project @ robey@lag.net-20060309081455-84be2ae54f98e897]Robey Pointer
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
2006-03-09[project @ robey@lag.net-20060309080450-bad95b03d60d3d4f]Robey Pointer
improve HostKeys so that it more correctly emulates a dict, and add a unit test to verify that
2006-02-19[project @ robey@lag.net-20060220031741-3227438ff1b03a29]Robey Pointer
add SFTPClient.truncate. add chmod, chown, utime, and truncate to SFTPFile. and of course tests.
2006-02-19[project @ robey@lag.net-20060220003513-aa54e3e771a530fd]Robey Pointer
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
2005-12-04[project @ robey@lag.net-20051204090414-7c8318ab735f6188]Robey Pointer
experimental util functions for parsing/getting openssh host config, and unit tests (turned out to be pretty easy)
2005-12-03[project @ robey@ralph.lag.net-20051204043258-3d82f58e781edf13]Robey Pointer
add unit test for compression
2005-12-02[project @ robey@ralph.lag.net-20051203043223-8ee54573dcda1386]Robey Pointer
new unit test for doing a bunch of prefetches at once
2005-12-02[project @ robey@lag.net-20051202120305-73accda404b89d27]Robey Pointer
dumb test to verify utf8 encoding
2005-11-12[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-80]Robey Pointer
add 'x' flag to open to allow O_EXCL behavior
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-10-24[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-70]Robey Pointer
add SFTPFile.prefetch() to allow pre-fetching a file that will be downloaded in full -- quick testing showed this could speed up downloads 3x or more
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-09-25[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-60]Robey Pointer
add file pipelining for writes
2005-08-03[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-49]Robey Pointer
dumb tiny tweaks
2005-07-18[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-46]Robey Pointer
add SFTPFile.check and server support (and test) -- it's an sftp extension that allows a client to retrieve the hash of part or all of a file without downloading it. we're probably the only ones who implement it yet
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-07-13[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-33]Robey Pointer
add SFTPClient.put and SFTPClient.get, and make sftp file objects auto-close on del
2005-07-13[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-32]Robey Pointer
add the concept of a cwd to SFTPClient, and add a unit test for it
2005-07-07[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-25]Robey Pointer
cool optimization from john rochester: use cStringIO in Message (and also fix some unit test bugs revealed by the change)
2005-06-28[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-19]Robey Pointer
2 keys needed for unit tests
2005-06-28[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-17]Robey Pointer
more unit tests
2005-05-21[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-10]Robey Pointer
fix stupid bug in kex_group1 which luckily only affected unit tests
2005-05-10[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-8]Robey Pointer
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
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-04-18[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-163]Robey Pointer
add SFTPClient.close() add SFTPClient.close() and add a simple little unit test for it.
2005-04-06[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-157]Robey Pointer
change SubsystemHandler/SFTPServerInterface API change the API of SubsystemHandler to accept a reference to the ServerInstance object during construction. this will break all code that currently creates subsystem handlers (like sftp servers) -- sorry! lots of little doc fixups (mostly indenting).
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-28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-153]Robey Pointer
tweak sftp_file write behavior on large blocks of data BufferedFile.write() wasn't correctly dealing with the possibility that the underlying write might not write the entire data block at once (even though the docs said it would). now that it's working, make sftp_file take advantage of it in order to chop up blocks larger than 32kB (the max allowed on sftp) and add a unit test for it.
2005-02-28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-152]Robey Pointer
little doc fixes stupid little doc fixups that didn't fit with the other patches.
2005-02-26[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-148]Robey Pointer
forgot to check in stub_sftp yikes! don't forget to check this in: needed for unit tests.
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.