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):
99
99
mech_properties = dict (
100
100
SERVICE_NAME = GSSAPI_SERVICE_NAME , CANONICALIZE_HOST_NAME = GSSAPI_CANONICALIZE
101
101
)
102
- mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
102
+ if GSSAPI_SERVICE_REALM is not None :
103
+ mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
103
104
cls .mech_properties = mech_properties
104
105
105
106
async def test_credentials_hashing (self ):
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ def setUpClass(cls):
99
99
mech_properties = dict (
100
100
SERVICE_NAME = GSSAPI_SERVICE_NAME , CANONICALIZE_HOST_NAME = GSSAPI_CANONICALIZE
101
101
)
102
- mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
102
+ if GSSAPI_SERVICE_REALM is not None :
103
+ mech_properties ["SERVICE_REALM" ] = GSSAPI_SERVICE_REALM
103
104
cls .mech_properties = mech_properties
104
105
105
106
def test_credentials_hashing (self ):
You can’t perform that action at this time.
0 commit comments