summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2023-01-16s/%/fstrings/gJeff Forcier
Except in one spot where it was too complicated to bother for now XD
2023-01-16Twiddle a test to not shadow hex builtin (and nuke %)Jeff Forcier
2023-01-12Swap around __bytes__/__str__ for some classesJeff Forcier
Plus related updates to tests, docstrings, changelog
2023-01-12We live in the future nowJeff Forcier
2023-01-12Update a bunch of no/low impact python2/3 references/commentsJeff Forcier
2023-01-11flake8Jeff Forcier
2023-01-11blackenJeff Forcier
2023-01-11Missed a spot re: b,u helpers now in utilJeff Forcier
2023-01-11No idea when self.fail worked or didn't. old code is old?Jeff Forcier
2023-01-11Import shuffleJeff Forcier
2023-01-10Set up icecream in test harnessJeff Forcier
2023-01-10Nix old todoJeff Forcier
2023-01-09s/mock/unittest.mock/gJeff Forcier
2023-01-09Remove sys.version_info checksJeff Forcier
2023-01-09Update encode/decodebytesJeff Forcier
2023-01-09py3compat.bytes -> builtin or literal dependingJeff Forcier
2023-01-09py3compat.builtins -> stdlib builtinsJeff Forcier
2023-01-09string_types -> strJeff Forcier
2023-01-09Move b, u helpers to util module for nowJeff Forcier
Later on we can likely nuke many uses of these
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