Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test proving basic behavior of #18222.8 | Jeff Forcier | 2022-06-03 | 1 | -0/+18 |
| | |||||
* | Skip tests requiring invoke if it's not installed | Michał Górny | 2022-06-03 | 1 | -1/+6 |
| | | | | | | Since invoke is an optional dependency and only one group of tests require it, skip them gracefully rather than failing if it's not present. | ||||
* | Fix broken unittesty skipTest in locale decorator | Jeff Forcier | 2022-06-03 | 1 | -3/+2 |
| | |||||
* | sftp tests: Replace unittest parts | Stanislav Levin | 2022-06-03 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | The original PR https://github.com/paramiko/paramiko/pull/992 introduced several tests for sftp functionality. These tests made use of unittest's stuff like `assertTrue` and `assertEqual` because at that moment the tests were grouped under the `unittest.TestCase`-based class (`SFTPTest`). Before PR merge `unittest.TestCase` was refactored out from sftp tests (667bd74b139ed86f9b261d3abf5b6042ba80920b) but PR was not updated. The sftp tests are marked with `slow` and that's why they are not failed in CI (slow tests are excluded by default). Fixes: https://github.com/paramiko/paramiko/issues/1941 Signed-off-by: Stanislav Levin <slev@altlinux.org> | ||||
* | No idea why the lack of this blew up on circle but not locallyi-hate-my-life | Jeff Forcier | 2021-11-28 | 1 | -1/+1 |
| | | | | Probably the locales differ? sigh | ||||
* | Blacken code for #992 | Jeff Forcier | 2021-11-28 | 2 | -8/+13 |
| | |||||
* | Cleanup re #992 | Jeff Forcier | 2021-11-28 | 2 | -46/+7 |
| | | | | | | - remove apparently vestigial bits - remove Python 2.6 related bits - use pytest.skip instead of custom skip | ||||
* | Fix failure in listdir when server uses a locale | Martin Packman | 2021-11-28 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | Fixes #985 SFTPAttributes uses the locale-aware %b directive for the abbreviated month name with time.strftime, but was not decoding the result on Python 2.7. Add a strftime alias in py3compat that will always return unicode, and resolve the mixing of bytes and text in SFTPAttributes methods. Add a test at the listdir level, and a more specific test for the SFTPAttributes asbytes method. | ||||
* | Add new requireNonAsciiLocale test decorator | Martin Packman | 2021-11-28 | 1 | -0/+48 |
| | |||||
* | Expose Python 2.6 compatible test skip decorator | Martin Packman | 2021-11-28 | 1 | -1/+39 |
| | |||||
* | Tests proving #1257 | Jeff Forcier | 2021-11-28 | 1 | -1/+31 |
| | |||||
* | Enhance tests of existing/general key cmp/hash behavior | Jeff Forcier | 2021-11-28 | 1 | -0/+22 |
| | | | | Not sure why these were never explicitly tested | ||||
* | Pre-patch test proving security flaw re: 32bit key hash comparisons | Jeff Forcier | 2021-11-28 | 4 | -2/+49 |
| | |||||
* | Blacken for hostkeys fix | Jeff Forcier | 2021-11-28 | 1 | -4/+4 |
| | |||||
* | test_hostkeys: test SubDict.__delitem__() | Lans Zhang | 2021-11-28 | 1 | -0/+17 |
| | | | | | | | SubDict.__delitem__() would trigger the KeyError exception if a key type to be deleted is not present. Signed-off-by: Lans Zhang <jia.zhang@windriver.com> | ||||
* | Try getting Kerberos working on Circle | Jeff Forcier | 2021-10-08 | 1 | -0/+7 |
| | | | | | | | | | | | | Sadly it fails. Unclear whether I'm missing something, or if this represents a diff between the Ubuntu versions Travis last used and what Circle's images are on. I did get the tests themselves truly running, and while I trimmed back the deps a bit vs Travis, it's only as some of them were redundant/required by other packages we install here. Leaving it defined but not actually used in the workflow. | ||||
* | bump test/ci related sleep :( | Jeff Forcier | 2021-10-08 | 1 | -1/+4 |
| | |||||
* | Merge branch '2.7' into master | Jeff Forcier | 2021-07-23 | 1 | -1/+1 |
|\ | |||||
| * | Merge branch '2.6' into 2.7 | Jeff Forcier | 2021-07-23 | 1 | -1/+1 |
| |\ | |||||
| | * | Merge branch '2.5' into 2.6 | Jeff Forcier | 2021-07-23 | 1 | -1/+1 |
| | |\ | |||||
| | | * | noqa long line | Jeff Forcier | 2021-07-23 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch '2.7' into master | Jeff Forcier | 2021-07-23 | 1 | -0/+42 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge branch '2.6' into 2.7 | Jeff Forcier | 2021-07-23 | 1 | -0/+42 |
| |\ \ \ | | |/ / | |||||
| | * | | Merge branch '2.5' into 2.6 | Jeff Forcier | 2021-07-23 | 1 | -0/+42 |
| | |\ \ | | | |/ | |||||
| | | * | Add some tests for server-mode Diffie-Hellman key exchange. | Benno Rice | 2021-07-23 | 1 | -0/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | Tests existed for diffie-hellman-group1-sha1 in both client and server modes but tests for diffie-hellman-group14-sha256 and diffie-hellman-group16-sha512 were missing in server mode. | ||||
* | | | | Blacken | Jeff Forcier | 2021-06-06 | 1 | -2/+2 |
| | | | | |||||
* | | | | Fixup readability: Add Test for get() without using prefetch | Tim Stolarski | 2021-04-30 | 1 | -5/+7 |
| | | | | |||||
* | | | | Add Test fpr get() without using prefetch | Tim Stolarski | 2021-04-28 | 1 | -0/+26 |
|/ / / | |||||
* | | | fixed malformed PEM files -- there should not be leading spaces | Alex Gaynor | 2020-08-30 | 1 | -27/+27 |
| | | | |||||
* | | | Failing test anticipating #1723 | Jeff Forcier | 2020-08-27 | 1 | -0/+20 |
| | | | |||||
* | | | Merge branch '2.7' into 1567-int | Jeff Forcier | 2019-12-09 | 2 | -0/+24 |
|\ \ \ | |||||
| * | | | fix loading ECDSA keys in new openssh private key format | Pierce Lopez | 2019-12-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | (also Blacken new ecdsa format key test) | ||||
| * | | | test loading ECDSA key in new openssh private-key format | Pierce Lopez | 2019-12-05 | 2 | -0/+24 |
| | | | | |||||
* | | | | test RSA key in new openssh private key format without padding | Pierce Lopez | 2019-12-05 | 2 | -0/+31 |
|/ / / | |||||
* | | | How do folks keep putting friggin numbers in the tests? | Jeff Forcier | 2019-12-03 | 2 | -4/+4 |
| | | | | | | | | | | | | Well, pkey was probably my fault as the patch has sat around for ages | ||||
* | | | Rename new test key files for readability | Jeff Forcier | 2019-12-03 | 3 | -2/+2 |
| | | | |||||
* | | | Merge branch 'master' into 1343-int | Jeff Forcier | 2019-12-03 | 70 | -851/+2296 |
|\ \ \ | |||||
| * | | | Apply %h tokenization to HostName | Jeff Forcier | 2019-12-03 | 3 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup | ||||
| * | | | Modernize a test that sometimes fails for no obvious reason on travis only =/ | Jeff Forcier | 2019-12-03 | 1 | -5/+5 |
| | | | | |||||
| * | | | Trim trailing whitespace from test config files | Jeff Forcier | 2019-12-03 | 27 | -39/+0 |
| | | | | |||||
| * | | | Never actually handled optional-ness of Invoke import | Jeff Forcier | 2019-12-03 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | Was just silently failing, wahoops | ||||
| * | | | Blacken | Jeff Forcier | 2019-12-03 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fill in rest of Match exec tests - all pass | Jeff Forcier | 2019-12-03 | 5 | -15/+62 |
| | | | | |||||
| * | | | Base case re #717 works now. | Jeff Forcier | 2019-12-02 | 44 | -72/+563 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Huge ass squashed commit because I was experimenting with "commit entire feature at once so you do not leave broken tests around to break bisecting". Not sure it's worth it, at least not for large-ish, overhauling-existing-code feature adds. Breaking the work up over months did not help either, L M A O | ||||
| * | | | Tweak some old test names for easier targeting | Jeff Forcier | 2019-12-02 | 1 | -17/+26 |
| | | | | |||||
| * | | | Python 2 fix - not all exceptions have .msg under this interp version | Jeff Forcier | 2019-09-27 | 1 | -1/+1 |
| | | | | |||||
| * | | | Implement ssh_config hostname canonicalization (WIP) | Jeff Forcier | 2019-09-27 | 18 | -42/+329 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactor DNS lookup related junk previously only relevant to %h - Refactor guts of lookup() so it can be done >1 time - Changelog/tests/implementation for canonicalization itself Closes #897 | ||||
| * | | | Sort top level import related junk | Jeff Forcier | 2019-09-26 | 1 | -20/+20 |
| | | | | |||||
| * | | | Somehow failed to flake/blacken previously | Jeff Forcier | 2019-08-27 | 2 | -2/+1 |
| | | | | |||||
| * | | | Clean up existing ssh_config tests more | Jeff Forcier | 2019-08-26 | 1 | -77/+68 |
| | | | | | | | | | | | | | | | | | | | | - New constructors used errywhere - More consistent config snippet formatting |