Lines Matching refs:open_url
69 open_url = self.urlopen("http://www.example.com/")
72 self.assertTrue(hasattr(open_url, attr), "object returned from "
75 self.assertTrue(open_url.read(), "calling 'read' failed")
77 open_url.close()
81 open_url = self.urlopen("http://www.example.com/")
83 self.assertIsInstance(open_url.readline(), basestring,
85 self.assertIsInstance(open_url.readlines(), list,
88 open_url.close()
92 open_url = self.urlopen("http://www.example.com/")
94 info_obj = open_url.info()
96 open_url.close()
105 open_url = self.urlopen(URL)
107 gotten_url = open_url.geturl()
109 open_url.close()
115 open_url = urllib.FancyURLopener().open(URL)
117 code = open_url.getcode()
119 open_url.close()
126 open_url = self.urlopen("http://www.example.com/")
127 fd = open_url.fileno()