Skip to content

Commit fe6f485

Browse files
committed
Really test SERVICE_REALM
1 parent 7e92cda commit fe6f485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def test_gssapi_simple(self):
128128
mech_properties = 'SERVICE_NAME:%s' % (GSSAPI_SERVICE_NAME,)
129129
mech_properties += (
130130
',CANONICALIZE_HOST_NAME:%s' % (GSSAPI_CANONICALIZE,))
131-
if GSSAPI_SERVICE_NAME is not None:
132-
mech_properties += ',SERVICE_NAME:%s' % (GSSAPI_SERVICE_NAME,)
131+
if GSSAPI_SERVICE_REALM is not None:
132+
mech_properties += ',SERVICE_REALM:%s' % (GSSAPI_SERVICE_REALM,)
133133

134134
# Call authenticate() with authMechanismProperties.
135135
self.assertTrue(db.authenticate(

0 commit comments

Comments
 (0)