summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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
2007-02-10[project @ robey@lag.net-20070211022553-mjbl0w7wygpl7os5]Robey Pointer
add another test to check out private key auth.
2006-12-27[project @ robey@lag.net-20061227194121-hzrmwbb6ea14unkg]Robey Pointer
once, this test failed, so add a timer
2006-12-15[project @ robey@lag.net-20061215222108-7pu0151970w1e1lp]Robey Pointer
add a ResourceManager to replace __del__ methods, and use it in SSHClient to automatically close any open transport when the SSHClient is collected. this won't work on Transport itself (to close the attached packetizer) because Transport starts up its own thread, and the threading library keeps a Transport object alive to run that thread. i think that's okay; the SSHClient interface is meant to be the easier one, so that's the one where it's important that some auto-cleanup is attempted.
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-11-11[project @ robey@lag.net-20061112055617-098a150cf051bffa]Robey Pointer
try a trick that should let 'hostkeys[hostname][keytype] = key' work for HostKeys objects again.
2006-11-10[project @ robey@lag.net-20061111004413-7bab08f1bad7f96f]Robey Pointer
bug 70398: allow constructions like: hostkeys['hostname'] = {} to create an empty host entry object, so that future attempts to set keys will at least not throw an exception. (they'll still silently do nothing, though.)
2006-10-14[project @ robey@lag.net-20061015012126-36370734592aff17]Robey Pointer
might as well assert this
2006-09-07[project @ robey@lag.net-20060908022816-ea2856cefb9d83e0]Robey Pointer
fix from john arbash-meinel for the stub sftp server's default open mode
2006-09-01[project @ robey@lag.net-20060901205930-021bcc34e3d5d8c8]Robey Pointer
sadly, revert the append optimization -- it breaks for openssh
2006-08-28[project @ robey@lag.net-20060828234834-51542dc36057b361]Robey Pointer
fix __setitem__ to do the right thing
2006-08-22[project @ robey@lag.net-20060823025538-3f8a4d761d7d4118]Robey Pointer
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
2006-08-21[project @ robey@lag.net-20060822025601-aab3b723b95d3a9c]Robey Pointer
add 'flags' param to SFTPHandle and make the default impl avoid calling tell() when in append mode; add proper append-mode support to stub_sftp
2006-08-13[project @ robey@lag.net-20060813195045-ca4148e233794d4b]Robey Pointer
add a unit test to verify that all the paramiko symbols are exported correctly
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-07-25[project @ robey@lag.net-20060726000907-b9a2d46eecc64cec]Robey Pointer
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
2006-07-23[project @ robey@lag.net-20060723235649-5f757e44908ffb31]Robey Pointer
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
2006-06-26[project @ robey@lag.net-20060627064106-71a2bfb5a39a2913]Robey Pointer
add PKey.from_private_key to read from a file object
2006-06-26[project @ robey@lag.net-20060627060600-07d5b7e2fc57202d]Robey Pointer
add PKey.write_private_key to write a private key into a file object, and add tests for it
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