summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2023-01-09Update BytesIOJeff Forcier
2023-01-09Remove py3compat.PY2, including related streamliningJeff Forcier
2023-01-09Update StringIOJeff Forcier
2023-01-09Migrate some byte related helpers aroundJeff Forcier
I feel like we should be able to just nuke byte_chr and friends at this point, but it's not entirely obvious, so let's rock that boat later.
2022-11-04Write basic test re #2125, including kwarg default value tweakJeff Forcier
2022-06-03Merge branch '2.10' into 2.11Jeff Forcier
2022-06-03Merge branch '2.9' into 2.10Jeff Forcier
2022-06-03Merge branch '2.8' into 2.9Jeff Forcier
2022-06-03Add test proving basic behavior of #1822Jeff Forcier
2022-06-03Merge branch '2.10' into 2.11Jeff Forcier
2022-06-03Merge branch '2.9' into 2.10Jeff Forcier
2022-06-03Merge branch '2.8' into 2.9Jeff Forcier
2022-06-03Skip tests requiring invoke if it's not installedMichał Górny
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.
2022-06-03Merge branch '2.10' into 2.11Jeff Forcier
2022-06-03Merge branch '2.9' into 2.10Jeff Forcier
2022-06-03Merge branch '2.8' into 2.9Jeff Forcier
2022-06-03Fix broken unittesty skipTest in locale decoratorJeff Forcier
2022-06-03sftp tests: Replace unittest partsStanislav Levin
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>
2022-05-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Revert "Mark new tests that require SHA1"Jeff Forcier
This reverts commit dca52aa8a2ddbc32fc874a8d235652c68e1dc3b9. Forgot this decorator wasn't ported back this far, heh.
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Add test proving #1599Jeff Forcier
2022-05-16Merge branch '2.10'Jeff Forcier
2022-05-16Merge branch '2.9' into 2.10Jeff Forcier
2022-05-16Fix OpenSSH<7.8 + RSA-CERT use re: SHA2Jeff Forcier
Closes #2017
2022-04-26replace blowfish with different cipher in testMike Roest
2022-04-26Remove blowfish from transport ciphersMike Roest
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-25Merge branch '2.9' into 2.10Jeff Forcier
2022-04-25threading related deprecation fixes for python 3.10Narendra-Neerukonda
2022-04-25Massage #1951 a bitJeff Forcier
- changelog - test - tilde makes no sense here (ProxyJump is only ever [user@]host[:port] syntax) so removed it
2022-04-25blackenJeff Forcier
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-25Merge branch '2.9' into 2.10Jeff Forcier
2022-04-25don't throw exception when comparing PKey to non-PKeyChristopher Papke
2022-04-22Add -cert-v01@openssh.com variants to accepted host key algorithmsJeff Forcier
Solves #2035
2022-03-25Refactor sha1 test skipping a tadJeff Forcier
2022-03-21Fix for compatibility with old versions of cryptographyPaul Howarth
2022-03-21Remove unused variable, keep lint happyPaul Howarth
2022-03-21blackenPaul Howarth
2022-03-20Skip tests requiring sha1 signing if the backend doesn't support thatPaul Howarth
Red Hat Enterprise Linux 9 will have SHA-1 signatures disabled by default. It is likely that SHA-1 signatures will disappear elsewhere over time too. This change detects if sha1 signatures are not supported by the backend and skips tests that rely on that functionality. This is a workaround for #2004. It would be good to reduce the reliance of the test suite on sha1 signatures except in the cases where that is explicitly being tested, and the markers added here give a decent starting point for seeing where to change things.
2022-03-18Merge branch '2.10'Jeff Forcier
2022-03-18Merge branch '2.9' into 2.10Jeff Forcier
2022-03-18Fix publickey authentication with signed RSA keyJun Omae