summaryrefslogtreecommitdiff
path: root/tests/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* Stop stripping ProxyCommand none, make it NoneJeff Forcier2023-01-161-10/+10
| | | | | Also apparently the old, old test for this had the wrong issue number in it :(
* No more (object)ionsJeff Forcier2023-01-161-11/+11
|
* s/mock/unittest.mock/gJeff Forcier2023-01-091-1/+1
|
* string_types -> strJeff Forcier2023-01-091-3/+1
|
* Merge branch '2.10' into 2.11Jeff Forcier2022-06-031-1/+6
|\
| * Merge branch '2.9' into 2.10Jeff Forcier2022-06-031-1/+6
| |\
| | * Skip tests requiring invoke if it's not installedMichał Górny2022-06-031-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.
* | | Massage #1951 a bitJeff Forcier2022-04-251-0/+19
|/ / | | | | | | | | | | - changelog - test - tilde makes no sense here (ProxyJump is only ever [user@]host[:port] syntax) so removed it
* | Helps to actually leverage your mocked system callsJeff Forcier2022-03-111-4/+6
| |
* | OpenSSH docs state %C should also work in IdentityFile and Match execJeff Forcier2022-03-111-4/+19
| | | | | | | | (at least, of what we presently ourselves support - it's also allowed in others)
* | Prettify, add %C as acceptable controlpath token, mock gethostnameJason Brand2022-03-111-0/+1
|/
* Apply %h tokenization to HostNameJeff Forcier2019-12-031-0/+10
| | | | | This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup
* Never actually handled optional-ness of Invoke importJeff Forcier2019-12-031-0/+9
| | | | Was just silently failing, wahoops
* BlackenJeff Forcier2019-12-031-0/+1
|
* Fill in rest of Match exec tests - all passJeff Forcier2019-12-031-15/+37
|
* Base case re #717 works now.Jeff Forcier2019-12-021-56/+399
| | | | | | | | | 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 targetingJeff Forcier2019-12-021-17/+26
|
* Implement ssh_config hostname canonicalization (WIP)Jeff Forcier2019-09-271-6/+151
| | | | | | | | - 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
* Somehow failed to flake/blacken previouslyJeff Forcier2019-08-271-1/+0
|
* Clean up existing ssh_config tests moreJeff Forcier2019-08-261-77/+68
| | | | | - New constructors used errywhere - More consistent config snippet formatting
* Add new SSHConfig constructorsJeff Forcier2019-08-261-17/+36
|
* Start moving config snippets to filesJeff Forcier2019-08-261-28/+9
|
* Move all SSHConfig related tests to test_config.pyJeff Forcier2019-08-261-39/+428
| | | | | Includes cleanup of unittest-isms and migrating recently added SSHConfigDict tests to a distinct class vs top-level funcs.
* BlackenedJeff Forcier2018-06-141-1/+1
|
* Return a userdict class from paramiko config parsingChris Rose2018-05-161-1/+30
|
* Add an SSHConfig dict to provide type conversion helpersChris Rose2018-05-161-0/+45