HomeSort by relevance Sort by last modified time
    Searched refs:open_url (Results 1 - 10 of 10) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_urllibnet.py 62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info()
    [all...]
test_urllib2_localnet.py 445 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
447 self.assertTrue(hasattr(open_url, attr), "object returned from "
450 self.assertTrue(open_url.read(), "calling 'read' failed")
452 open_url.close()
460 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
461 info_obj = open_url.info()
474 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
475 url = open_url.geturl()
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_urllibnet.py 62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info(
    [all...]
test_urllib2_localnet.py 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
455 self.assertTrue(hasattr(open_url, attr), "object returned from "
458 self.assertTrue(open_url.read(), "calling 'read' failed")
460 open_url.close()
468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
469 info_obj = open_url.info()
482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
483 url = open_url.geturl()
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_urllibnet.py 62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info(
    [all...]
test_urllib2_localnet.py 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
455 self.assertTrue(hasattr(open_url, attr), "object returned from "
458 self.assertTrue(open_url.read(), "calling 'read' failed")
460 open_url.close()
468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
469 info_obj = open_url.info()
482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
483 url = open_url.geturl()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllibnet.py 62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info(
    [all...]
test_urllib2_localnet.py 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
455 self.assertTrue(hasattr(open_url, attr), "object returned from "
458 self.assertTrue(open_url.read(), "calling 'read' failed")
460 open_url.close()
468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
469 info_obj = open_url.info()
482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
483 url = open_url.geturl()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllibnet.py 62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info(
    [all...]
test_urllib2_localnet.py 453 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
455 self.assertTrue(hasattr(open_url, attr), "object returned from "
458 self.assertTrue(open_url.read(), "calling 'read' failed")
460 open_url.close()
468 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
469 info_obj = open_url.info()
482 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
483 url = open_url.geturl()

Completed in 292 milliseconds