

def testProxyDisabled(self):
    proxy_info = httplib2.ProxyInfo('blah', 'localhost', 0)
    client = httplib2.Http(proxy_info=proxy_info)
    proxy_info.assertRaises(httplib2.ProxiesUnavailableError, client.request, 'http://localhost:-1/')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/httplib2/httplib2/test/test_no_socket.py MissingSocketTest.testProxyDisabled/VarMisuse@34/51 `self`->`proxy_info`