summaryrefslogtreecommitdiffhomepage
path: root/tests/test_util.py
AgeCommit message (Collapse)Author
2019-06-14Merge branch '2.3' into 2.4Jeff Forcier
2019-06-14Update to modern pytest(-relaxed)Jeff Forcier
Also fix some low hanging warnings fruit
2019-06-08flake8 now applied to tests, huzzahJeff Forcier
2018-09-17Blacken 2.0 with black 18.6b4Jeff Forcier
2018-09-17Import cleanup, mostly focused on s/tests/./Jeff Forcier
2018-08-22Bump black up to 18.6b4Jeff Forcier
2018-05-29Blacken under black 18.5b0Jeff Forcier
2018-05-17Blacken Paramiko on 2.4Chris Rose
2017-10-23Import cleanup, mostly focused on s/tests/./Jeff Forcier
2017-10-16Dropped Python 2.6 so we can stop using u()/b() for literals.Jeff Forcier
Sadly we (ab?)use them in many more places, but hey, every little bit counts
2017-10-10Use set literalsJeff Forcier
2017-10-10Use new(er)-style string formatting, {} instead of {0}Jeff Forcier
2017-05-31Additional house style formatting tweaks, mostly re: removal of line ↵Jeff Forcier
continuations
2016-12-05Just get rid of the frickin' numbers.Jeff Forcier
Every other merge screws them up anyway.
2016-12-05Add tests for ~ expansion inside proxycommandqqo
2016-04-25Test & implementation for part 1 re: #670Jeff Forcier
2016-01-19Merge branch '1.14' into 1.15Jeff Forcier
2016-01-19Merge branch '1.13' into 1.14Jeff Forcier
2016-01-08Update SSHConfig.parse to strip leading and trailing whitespaceNick Pillitteri
Fixes #499
2014-12-17Added check for proxycommand none and associated test as per Paramiko Issue 415Sean Johnson
Conflicts: tests/test_util.py
2014-11-12Merge branch '1.15'Jeff Forcier
2014-11-12Merge branch '1.14' into 1.15Jeff Forcier
Conflicts: tests/test_util.py
2014-11-12Merge branch '1.13' into 1.14Jeff Forcier
2014-11-12Failing test proving #429Jeff Forcier
2014-09-19SSHConfig.get_hostnames: List literal hostnames from SSH configSøren Løvborg
2014-09-08Merge branch 'master' into 372-intJeff Forcier
Conflicts: paramiko/channel.py tests/test_util.py
2014-09-08Merge branch 'master' into 374-intJeff Forcier
2014-09-08Merge pull request #375 from ↵Jeff Forcier
lndbrg/lower-the-risk-of-editors-striping-whitespace Don't end a line with whitespace.
2014-09-05Merge branch 'master' into 184-intJeff Forcier
Conflicts: paramiko/config.py tests/test_util.py
2014-08-25Merge branch '1.13' into 1.14Jeff Forcier
2014-08-25Rework re #239 to work off post-1.13 codebase. Closes #239Jeff Forcier
2014-08-15Don't end a line with whitespace.Olle Lundberg
This might be stripped by editors at will, which will make some tests brake.
2014-08-15Remove all occurences of ParamikoTest.Olle Lundberg
Sorry paramiko, it's time to put on the big boy pants. You no longer support old as hell versions of python.
2014-08-14Add a utility method for value clamping.Olle Lundberg
2014-04-22Moved get_hosts function into method.Yan Kalchevksiy
2014-04-22Add support quoted values for SSHConfig (#157)Yan Kalchevskiy
2014-04-14Merge branch 'master' into use-urandomAlex Gaynor
Conflicts: paramiko/dsskey.py paramiko/ecdsakey.py paramiko/hostkeys.py paramiko/kex_gex.py paramiko/kex_group1.py paramiko/pkey.py paramiko/primes.py paramiko/rsakey.py tests/test_pkey.py
2014-03-29Switch from using PyCrypto's Random to using os.urandom.Alex Gaynor
There's several reasons for this change: 1) It's faster for reads up to 1024 bytes (nearly 10x faster for 16 byte reads) 2) It receives considerably more security review since it's in the kernel. 3) It's yet another step towards running on PyPy. 4) Using userspace CSPRNGs is considered something of an anti-pattern. See: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ http://webcache.googleusercontent.com/search?q=cache:2nTvpCgKZXIJ:www.2uo.de/myths-about-urandom/+&cd=3&hl=en&ct=clnk&gl=us
2014-03-29Switched hash functions from PyCrypto to hashlib.Alex Gaynor
There's a few advantages to this: 1) It's probably fast, OpenSSL, which typically backs hashlib, receives far more attention for optimizaitons than PyCrypto. 2) It's the first step to supporting PyPy, where PyCrypto doesn't run.
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
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-19Use 'with' for opening most file and SFTPFIle objectsScott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-10-31Fix bytes/str type in more placesScott Maxwell
2013-10-30Convert and detect types properly, use helper constants, use StringIO and rangeScott Maxwell
2013-10-30Fix dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell
2013-10-30Fix importsScott Maxwell
2013-09-27Merge branch '1.9' into 1.10Jeff Forcier
2013-09-27Merge branch '1.8' into 1.9Jeff Forcier
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py