URL:
https://github.com/SSSD/sssd/pull/25
Title: #25: TESTS: Add integration tests for the proxy provider of sssd-secrets
jhrozek commented:
"""
On Mon, Sep 19, 2016 at 03:19:51AM -0700, lslebodn wrote:
On (16/09/16 06:56), Jakub Hrozek wrote:
>jhrozek commented on this pull request.
>> +#
>+
>+import socket
>+import requests
>+
>+from requests.adapters import HTTPAdapter
>+from requests.packages.urllib3.connection import HTTPConnection
>+from requests.packages.urllib3.connectionpool import HTTPConnectionPool
>+from requests.compat import quote, unquote, urlparse
>+
>+
>+class HTTPUnixConnection(HTTPConnection):
>+ def __init__(self, host, timeout=60, **kwargs):
>+ # pylint: disable=bad-super-call
>+ super(HTTPConnection, self).__init__('localhost')
>+ self.unix_socket = host
>
>ok
>
There is not reason to use pylint disable anymore.
OK, fixed.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/25#issuecomment-247958533