diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-05-18 16:50:42 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-05-22 12:22:05 -0400 |
commit | ce454580c03997d9b5873fe31e1ce27d1c64cf12 (patch) | |
tree | a0e2234b832b0ddda194da03c92b01d0f5ce6f2e /tests/test_util.py | |
parent | 31a5a30cf50d3971693417ccfd1e15c1f8302147 (diff) |
Start testing AuthStrategy
Plus!
- Document AuthStrategy and AuthHandler modules (latter never had docs?
lol)
- Minor tweaks to these modules' docstrings etc
- Stop comparing to __all__ in __init__.py, ugh
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index ec03846b..4a8cf972 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -49,6 +49,9 @@ class UtilTest(unittest.TestCase): "Agent", "AgentKey", "AuthenticationException", + "AuthHandler", + "AuthSource", + "AuthStrategy", "AutoAddPolicy", "BadAuthenticationType", "BufferedFile", @@ -60,6 +63,7 @@ class UtilTest(unittest.TestCase): "HostKeys", "Message", "MissingHostKeyPolicy", + "NoneAuth", "PasswordRequiredException", "RSAKey", "RejectPolicy", @@ -82,7 +86,7 @@ class UtilTest(unittest.TestCase): "WarningPolicy", "util", ): - assert name in paramiko.__all__ + assert name in dir(paramiko) def test_generate_key_bytes(self): key_bytes = paramiko.util.generate_key_bytes( |