pylint: disable comparison-of-constants
Related: https://pagure.io/freeipa/issue/9278 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
1 parent
fdd3dd29b7
commit
416c210fc3
1 file changed
+2
@@ -153,6 +153,7 @@ class TestAuthenticators:
|
||||
self.assertHeaderMatch(hdr, gssapi, 'admin', 0)
|
||||
self.assertHeaderMismatch(hdr, gssapi, 'invalid_rule', 0)
|
||||
|
||||
# pylint: disable=R0133
|
||||
hdr = authenticators.SimpleHeaderAuth(parser, 'auth:header_values')
|
||||
assert hdr.header == 'GSSAPI'
|
||||
assert hdr.value, {'admin' == 'user'}
|
||||
@@ -164,3 +165,4 @@ class TestAuthenticators:
|
||||
hdr = authenticators.SimpleHeaderAuth(parser,
|
||||
'auth:header_comma')
|
||||
assert hdr.value, {'admin', 'user' == 'other user'}
|
||||
# pylint: enable=R0133
|
||||
Reference in new issue
Block a user