summaryrefslogtreecommitdiffhomepage
path: root/tests/test_gssapi.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-06-09 19:32:21 -0400
committerJeff Forcier <jeff@bitprophet.org>2019-06-09 19:32:21 -0400
commitcf0c0efad500f3096aa10841edf12a5cc6050b06 (patch)
tree1749d8f41cea1333522f519b1f3314bf3e82e0b6 /tests/test_gssapi.py
parent4f77e76b8caaf3645841e291ab5081d415b14acb (diff)
parent224e284fa1694073117428d6eee49d7f88516c69 (diff)
Merge branch 'master' into 1233-int
Diffstat (limited to 'tests/test_gssapi.py')
-rw-r--r--tests/test_gssapi.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_gssapi.py b/tests/test_gssapi.py
index d7fbdd53..46d5bbd1 100644
--- a/tests/test_gssapi.py
+++ b/tests/test_gssapi.py
@@ -30,15 +30,14 @@ from .util import needs_gssapi
@needs_gssapi
class GSSAPITest(unittest.TestCase):
-
- def setup():
+ def setup(self):
# TODO: these vars should all come from os.environ or whatever the
# approved pytest method is for runtime-configuring test data.
self.krb5_mech = "1.2.840.113554.1.2.2"
self.targ_name = "hostname"
self.server_mode = False
- def test_1_pyasn1(self):
+ def test_pyasn1(self):
"""
Test the used methods of pyasn1.
"""
@@ -49,7 +48,7 @@ class GSSAPITest(unittest.TestCase):
mech, __ = decoder.decode(oid)
self.assertEquals(self.krb5_mech, mech.__str__())
- def test_2_gssapi_sspi(self):
+ def test_gssapi_sspi(self):
"""
Test the used methods of python-gssapi or sspi, sspicon from pywin32.
"""