diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-06-09 19:32:21 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-06-09 19:32:21 -0400 |
commit | cf0c0efad500f3096aa10841edf12a5cc6050b06 (patch) | |
tree | 1749d8f41cea1333522f519b1f3314bf3e82e0b6 /tests/test_ssh_gss.py | |
parent | 4f77e76b8caaf3645841e291ab5081d415b14acb (diff) | |
parent | 224e284fa1694073117428d6eee49d7f88516c69 (diff) |
Merge branch 'master' into 1233-int
Diffstat (limited to 'tests/test_ssh_gss.py')
-rw-r--r-- | tests/test_ssh_gss.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/test_ssh_gss.py b/tests/test_ssh_gss.py index cee6ce89..d8c151f9 100644 --- a/tests/test_ssh_gss.py +++ b/tests/test_ssh_gss.py @@ -34,7 +34,6 @@ from .test_client import FINGERPRINTS class NullServer(paramiko.ServerInterface): - def get_allowed_auths(self, username): return "gssapi-with-mic,publickey" @@ -69,7 +68,6 @@ class NullServer(paramiko.ServerInterface): @needs_gssapi class GSSAuthTest(unittest.TestCase): - def setUp(self): # TODO: username and targ_name should come from os.environ or whatever # the approved pytest method is for runtime-configuring test data. @@ -141,16 +139,16 @@ class GSSAuthTest(unittest.TestCase): stdout.close() stderr.close() - def test_1_gss_auth(self): + def test_gss_auth(self): """ Verify that Paramiko can handle SSHv2 GSS-API / SSPI authentication (gssapi-with-mic) in client and server mode. """ self._test_connection(allow_agent=False, look_for_keys=False) - def test_2_auth_trickledown(self): + def test_auth_trickledown(self): """ - Failed gssapi-with-mic auth doesn't prevent subsequent key auth from succeeding + Failed gssapi-with-mic doesn't prevent subsequent key from succeeding """ self.hostname = ( "this_host_does_not_exists_and_causes_a_GSSAPI-exception" |