summaryrefslogtreecommitdiffhomepage
path: root/tests/test_gssapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gssapi.py')
-rw-r--r--tests/test_gssapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gssapi.py b/tests/test_gssapi.py
index 3e8c39e8..46d5bbd1 100644
--- a/tests/test_gssapi.py
+++ b/tests/test_gssapi.py
@@ -30,14 +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.
"""
@@ -48,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.
"""