summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
AgeCommit message (Collapse)Author
2023-05-18Test AgentKey.asbytesJeff Forcier
Plus related twiddling of test key files
2023-05-18Migrate cert related tests to newer pkey moduleJeff Forcier
- Merge them but also break them up. It's complicated. - Move cert files into _support - Related comments in the source as some of this is non-intuitive
2023-05-05Enhance PKey.from_path and test it betterJeff Forcier
2023-05-05Migrate rest of main keys and update suite to be more pytest-relaxed compatJeff Forcier
Main branch as of today: 350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s This branch as of this commit: 361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to figure out what the other 3 are given pytest-relaxed's output is very different from regular verbose pytest. oops.
2023-05-05Start moving key fixtures into support folderJeff Forcier
2023-03-02Add missing comma to pass style checksMike Salvatore
2023-03-02Use a lambda for _mock_set_remote_channel()Mike Salvatore
2023-03-02Wrap test_channel_timeout() to 79 charactersMike Salvatore
2023-03-02Test configurable channel timeoutIlija Lazoroski
2023-01-16blackenJeff Forcier
2023-01-16well that's just super()!Jeff Forcier
2023-01-16s/%/fstrings/gJeff Forcier
Except in one spot where it was too complicated to bother for now XD
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-11blackenJeff Forcier
2023-01-09s/mock/unittest.mock/gJeff Forcier
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.8' into 2.9Jeff Forcier
2022-06-03Add test proving basic behavior of #1822Jeff 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-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-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-16Merge branch '2.10'Jeff Forcier
2022-05-16Fix OpenSSH<7.8 + RSA-CERT use re: SHA2Jeff Forcier
Closes #2017
2022-03-25Refactor sha1 test skipping a tadJeff Forcier
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-15Fix Free Software Foundation addressPaul Howarth
They moved from Temple Place to Franklin Street in 2005.
2021-10-08bump test/ci related sleep :(Jeff Forcier
2019-12-03Modernize a test that sometimes fails for no obvious reason on travis only =/Jeff Forcier
2019-06-21Rename to disableD_algorithms everywhere for consistencyJeff Forcier
Having it feel verb-y isn't that much better than the alternative, and consistency is a nice hobgoblin
2019-06-21Client->Transport for disable_algorithmsJeff Forcier
2019-06-21Old code sucksJeff Forcier
2019-06-14Implement #322 - new ChannelFile subclass for stdin that calls ↵Jeff Forcier
shutdown_write on close()
2019-06-14Basic tests proving Client.exec_command returns ChannelFile instancesJeff Forcier
2019-06-14Merge branch '2.3' into 2.4Jeff Forcier
2019-06-14Merge branch '2.2' into 2.3Jeff Forcier
2019-06-14Merge branch '2.1' into 2.2Jeff Forcier
2019-06-14Merge branch '2.0' into 2.1Jeff Forcier
2019-06-14Update to modern pytest(-relaxed)Jeff Forcier
Also fix some low hanging warnings fruit
2019-06-08Some additional badly named tests that I guess weren't in master?Jeff Forcier
2019-06-08flake8 now applied to tests, huzzahJeff Forcier
2019-06-08Clean up shitty old test names of form test_[9-0A-Z]+_.*Jeff Forcier
2018-09-17Blacken, 2.3 editionJeff Forcier
2018-09-17s/test_path/_support/gJeff Forcier
2018-09-17Merge branch '2.2' into 2.3Jeff Forcier
2018-09-17Blacken, 2.2 editionJeff Forcier
2018-09-17Test-level fixes for pytest & friends, 2.2 editionJeff Forcier