

def getClient(self, **kwargs):
    kwargs.setdefault('client_token', CLIENT_TOKEN)
    kwargs.setdefault('client_secret', CLIENT_SECRET)
    kwargs.setdefault('access_token', ACCESS_TOKEN)
    kwargs.setdefault('access_secret', ACCESS_SECRET)
    kwargs.setdefault('url', ('http://127.0.0.1:%s/' % self.server.server_port))
    return OAuthClient(**kwargs)

dataset/ETHPy150Open smartfile/client-python/tests.py OAuthTestCase.getClient/original