summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2023-05-05Enhance PKey a bunchJeff Forcier
- add .name to eventually replace .get_name - use that in a bunch of spots to avoid some duplication - add .identifiers classmethod to extend existing idea from ECDSAKey - add from_type_string alt constructor which uses .identifiers - use that in HostKeys (includes hopefully-minor refactoring) - no longer giving outdated init kwarg to ECDSA host key loading
2023-05-05Remove outdated/bad test fixtureJeff Forcier
This was added for #2173 but seemingly in its initial pass, before the submitter realized two spaces is _not_ a valid separator. It accidentally passed the tests due to how HostKeys.from_line was implemented at the time (two spaces -> 'key type' was misread and an empty string -> empty string not a valid key type -> returns None). An impending rewrite of that method turned this up.
2023-05-05Add ed25519 and ecdsa key types to hostkeys test fixturesJeff Forcier
2023-05-05Add algorithm_name property to PKeyJeff Forcier
2023-05-05Add new PKey.fingerprint property at long lastJeff Forcier
2023-05-05Fix now-broken-on-py3 AgentKey.__str__, by deleting itJeff Forcier
2023-03-10Merge branch 'main' into 2013-intJeff 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-02-16spacing to pass style checkAlex Chavkin
2023-02-16Update tests for #2173Alex Chavkin
2023-01-27Just change a faux-misspelt surname in an example text snippetJeff Forcier
2023-01-27Twiddle File test to lack faux-misspellings in its cut-up stringsJeff Forcier
2023-01-27Twiddle ProxyCommand read test to not have faux misspellings, and to be way ↵Jeff Forcier
more understandable
2023-01-27Tweak silly test constant to be a real wordJeff Forcier
2023-01-27Revert "RF test to use "12345" and "to" instead of misspelling components"Jeff Forcier
This reverts commit 5efa354ce9fff1217d22e52493d1442866821a7b.
2023-01-24[DATALAD RUNCMD] Run codespell -wYaroslav Halchenko
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
2023-01-24RF test to use "12345" and "to" instead of misspelling componentsYaroslav Halchenko
to not upset codespell
2023-01-16Nuke retry_on_signal, pointless on modern Py3Jeff Forcier
Additionally, other bits of code that retry EINTR can similarly just go away.
2023-01-16Stop stripping ProxyCommand none, make it NoneJeff Forcier
Also apparently the old, old test for this had the wrong issue number in it :(
2023-01-16flake8Jeff Forcier
2023-01-16Nuke now extraneous chmodJeff Forcier
2023-01-16blackenJeff Forcier
2023-01-16well that's just super()!Jeff Forcier
2023-01-16No more (object)ionsJeff Forcier
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.