summaryrefslogtreecommitdiffhomepage
path: root/tests/test_gssapi.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-05-31 18:21:48 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-05-31 18:21:48 -0700
commit86815346590cc8c460a67ff2862c925c07214f09 (patch)
tree3fef6d43f5acc6e994c6b7cceb7ca832299e5b3a /tests/test_gssapi.py
parent15aa741ba245b7384e6af4f4eb095431cfec4c19 (diff)
parent383e102b54464f2be8fe5aaa3b1e9bd94ad0b788 (diff)
Merge branch '2.0'
Diffstat (limited to 'tests/test_gssapi.py')
-rw-r--r--tests/test_gssapi.py8
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",