File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ def setUpClass(cls):
9999 mech_properties = dict (
100100 SERVICE_NAME = GSSAPI_SERVICE_NAME , CANONICALIZE_HOST_NAME = GSSAPI_CANONICALIZE
101101 )
102- mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
102+ if GSSAPI_SERVICE_REALM is not None :
103+ mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
103104 cls .mech_properties = mech_properties
104105
105106 async def test_credentials_hashing (self ):
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ def setUpClass(cls):
9999 mech_properties = dict (
100100 SERVICE_NAME = GSSAPI_SERVICE_NAME , CANONICALIZE_HOST_NAME = GSSAPI_CANONICALIZE
101101 )
102- mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
102+ if GSSAPI_SERVICE_REALM is not None :
103+ mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
103104 cls .mech_properties = mech_properties
104105
105106 def test_credentials_hashing (self ):
You can’t perform that action at this time.
0 commit comments