Lines Matching refs:open_url
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()
89 open_url.close()
98 open_url = self.urlopen(URL)
100 gotten_url = open_url.geturl()
102 open_url.close()
108 open_url = urllib.FancyURLopener().open(URL)
110 code = open_url.getcode()
112 open_url.close()
122 open_url = self.urlopen("http://www.python.org/")
123 fd = open_url.fileno()