summaryrefslogtreecommitdiffhomepage
path: root/tests/test_config.py
AgeCommit message (Collapse)Author
2023-07-21tests - additional test for match-finalMarkus Kötter
2023-06-29config - implement Match finalMarkus Koetter
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-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-16No more (object)ionsJeff Forcier
2023-01-09s/mock/unittest.mock/gJeff Forcier
2023-01-09string_types -> strJeff Forcier
2022-06-03Merge branch '2.10' into 2.11Jeff Forcier
2022-06-03Merge branch '2.9' into 2.10Jeff 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-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-03-11Helps to actually leverage your mocked system callsJeff Forcier
2022-03-11OpenSSH docs state %C should also work in IdentityFile and Match execJeff Forcier
(at least, of what we presently ourselves support - it's also allowed in others)
2022-03-11Prettify, add %C as acceptable controlpath token, mock gethostnameJason Brand
2019-12-03Apply %h tokenization to HostNameJeff Forcier
This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup
2019-12-03Never actually handled optional-ness of Invoke importJeff Forcier
Was just silently failing, wahoops
2019-12-03BlackenJeff Forcier
2019-12-03Fill in rest of Match exec tests - all passJeff Forcier
2019-12-02Base case re #717 works now.Jeff Forcier
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
2019-12-02Tweak some old test names for easier targetingJeff Forcier
2019-09-27Implement ssh_config hostname canonicalization (WIP)Jeff Forcier
- 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
2019-08-27Somehow failed to flake/blacken previouslyJeff Forcier
2019-08-26Clean up existing ssh_config tests moreJeff Forcier
- New constructors used errywhere - More consistent config snippet formatting
2019-08-26Add new SSHConfig constructorsJeff Forcier
2019-08-26Start moving config snippets to filesJeff Forcier
2019-08-26Move all SSHConfig related tests to test_config.pyJeff Forcier
Includes cleanup of unittest-isms and migrating recently added SSHConfigDict tests to a distinct class vs top-level funcs.
2018-06-14BlackenedJeff Forcier
2018-05-16Return a userdict class from paramiko config parsingChris Rose
2018-05-16Add an SSHConfig dict to provide type conversion helpersChris Rose