/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
web.py | 36 return NetworkTransaction(convert_404_to_None=convert_404_to_None).run(lambda: urllib2.urlopen(url).read())
|
file_uploader.py | 102 # or in urlopen(), doesn't appear to work on Mac 10.5 with Python 2.7. 105 return urllib2.urlopen(request)
|
/external/chromium_org/tools/json_schema_compiler/highlighters/ |
hilite_me_highlighter.py | 16 return urllib2.urlopen('http://hilite.me/api',
|
/external/chromium_org/tools/valgrind/ |
unused_suppressions.py | 18 sys.stdout.write(urllib2.urlopen(
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
urlfetcher.py | 41 file_object = urllib.urlopen(url)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 39 f = _open_with_retry(urllib.urlopen, "http://www.python.org/") 43 """Tests urllib.urlopen using the network. 57 def urlopen(self, *args): member in class:urlopenNetworkTests 58 return _open_with_retry(urllib.urlopen, *args) 62 open_url = self.urlopen("http://www.python.org/") 66 "urlopen lacks the %s attribute" % attr) 74 open_url = self.urlopen("http://www.python.org/") 85 open_url = self.urlopen("http://www.python.org/") 98 open_url = self.urlopen(URL) 122 open_url = self.urlopen("http://www.python.org/" [all...] |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 56 # self.fail("urlopen() should have failed with 401") 71 # urllib2.urlopen, "http://evil:thing@example.com") 129 self.assertRaises(ValueError, urllib2.urlopen,'./relative_path/to/file') 163 res = urllib2.urlopen(req) 197 req = urllib2.urlopen(URL) 206 urlopen = urllib2.build_opener(*handlers).open 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 218 f = urlopen(url, req, TIMEOUT [all...] |
test_urllib.py | 46 # buffer to store data for verification in urlopen tests. 61 """Test urlopen() opening a temporary file. 77 self.returned_obj = urllib.urlopen("file:%s" % self.pathname) 85 # Make sure object returned by urlopen() has the specified methods 89 "object returned by urlopen() lacks %s attribute" % 138 self.assertRaises(ValueError,urllib.urlopen,'./' + self.pathname) 166 """Test urlopen() opening a fake http connection.""" 171 fp = urllib.urlopen("http://python.org/") 184 fp = urllib.urlopen(url) 190 # urlopen() should raise IOError for many error codes [all...] |
test_urllib2_localnet.py | 343 """Tests urllib2.urlopen using the network. 378 f = urllib2.urlopen('http://localhost:%s/' % handler.port) 394 urllib2.urlopen('http://localhost:%s/weeble' % handler.port) 414 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port) 428 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port, 'get=with_feeling') 444 urllib2.urlopen(req) 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port) 456 "urlopen lacks the %s attribute" % attr) 468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port) 482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port [all...] |
test_robotparser.py | 3 from urllib2 import urlopen, HTTPError namespace 242 urlopen(robots_url)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 39 f = _open_with_retry(urllib.urlopen, "http://www.python.org/") 43 """Tests urllib.urlopen using the network. 57 def urlopen(self, *args): member in class:urlopenNetworkTests 58 return _open_with_retry(urllib.urlopen, *args) 62 open_url = self.urlopen("http://www.python.org/") 66 "urlopen lacks the %s attribute" % attr) 74 open_url = self.urlopen("http://www.python.org/") 85 open_url = self.urlopen("http://www.python.org/") 98 open_url = self.urlopen(URL) 122 open_url = self.urlopen("http://www.python.org/" [all...] |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 56 # self.fail("urlopen() should have failed with 401") 71 # urllib2.urlopen, "http://evil:thing@example.com") 129 self.assertRaises(ValueError, urllib2.urlopen,'./relative_path/to/file') 163 res = urllib2.urlopen(req) 197 req = urllib2.urlopen(URL) 206 urlopen = urllib2.build_opener(*handlers).open 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 218 f = urlopen(url, req, TIMEOUT [all...] |
test_urllib.py | 46 # buffer to store data for verification in urlopen tests. 61 """Test urlopen() opening a temporary file. 77 self.returned_obj = urllib.urlopen("file:%s" % self.pathname) 85 # Make sure object returned by urlopen() has the specified methods 89 "object returned by urlopen() lacks %s attribute" % 138 self.assertRaises(ValueError,urllib.urlopen,'./' + self.pathname) 166 """Test urlopen() opening a fake http connection.""" 171 fp = urllib.urlopen("http://python.org/") 184 fp = urllib.urlopen(url) 190 # urlopen() should raise IOError for many error codes [all...] |
test_urllib2_localnet.py | 343 """Tests urllib2.urlopen using the network. 378 f = urllib2.urlopen('http://localhost:%s/' % handler.port) 394 urllib2.urlopen('http://localhost:%s/weeble' % handler.port) 414 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port) 428 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port, 'get=with_feeling') 444 urllib2.urlopen(req) 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port) 456 "urlopen lacks the %s attribute" % attr) 468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port) 482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port [all...] |
test_robotparser.py | 3 from urllib2 import urlopen, HTTPError namespace 242 urlopen(robots_url)
|
/external/chromium_org/chrome/test/chromedriver/server/ |
server.py | 60 urllib2.urlopen(self.GetUrl() + '/status') 71 urllib2.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_upload.py | 60 self.old_open = upload_mod.urlopen 61 upload_mod.urlopen = self._urlopen 65 upload_mod.urlopen = self.old_open
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_upload.py | 60 self.old_open = upload_mod.urlopen 61 upload_mod.urlopen = self._urlopen 65 upload_mod.urlopen = self.old_open
|
/external/chromium_org/chrome/test/chromedriver/ |
archive.py | 32 return urllib.urlopen(url % _GetDownloadPlatform()).read()
|
/external/chromium_org/tools/ |
omahaproxy.py | 24 data = json.load(urllib.urlopen(URL))
|
/external/chromium_org/tools/telemetry_tools/ |
telemetry_bootstrap.py | 36 davclient_src = urllib.urlopen(_DAVCLIENT_URL).read() 149 exec urllib.urlopen(url).read()
|
/frameworks/ex/common/tools/ |
make-iana-tld-pattern.py | 3 from urllib2 import urlopen namespace 131 f = urlopen('http://data.iana.org/TLD/tlds-alpha-by-domain.txt')
|
/external/chromium_org/build/android/pylib/host_driven/ |
test_server.py | 109 d = urllib2.urlopen(test_url).read()
|
/external/chromium_org/media/tools/layout_tests/ |
test_expectations.py | 63 resp = urllib2.urlopen(url)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-stale-test-expectations-entries | 53 response = urllib2.urlopen(url)
|