diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 11:43:15 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 11:43:15 -0700 |
commit | 357ac45b49a888eaacf7efde272b8edcf7b55a93 (patch) | |
tree | 9765928c142ffbdb68958b60d08a4b9180946d34 /tests/test_gssapi.py | |
parent | 8eb2775f958ccdb3c4fcb06047a19b985ad5f26a (diff) | |
parent | 54b387833aca45a62011afbce91018023e3e9973 (diff) |
Merge branch 'master' into 951-int
Diffstat (limited to 'tests/test_gssapi.py')
-rw-r--r-- | tests/test_gssapi.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test_gssapi.py b/tests/test_gssapi.py index 96c268d9..bc220108 100644 --- a/tests/test_gssapi.py +++ b/tests/test_gssapi.py @@ -104,9 +104,11 @@ class GSSAPITest(unittest.TestCase): status = gss_srv_ctxt.verify_mic(mic_msg, mic_token) self.assertEquals(0, status) else: - gss_flags = sspicon.ISC_REQ_INTEGRITY |\ - sspicon.ISC_REQ_MUTUAL_AUTH |\ - sspicon.ISC_REQ_DELEGATE + gss_flags = ( + sspicon.ISC_REQ_INTEGRITY | + sspicon.ISC_REQ_MUTUAL_AUTH | + sspicon.ISC_REQ_DELEGATE + ) # Initialize a GSS-API context. target_name = "host/" + socket.getfqdn(targ_name) gss_ctxt = sspi.ClientAuth("Kerberos", |