Home | History | Annotate | Download | only in test

Lines Matching defs:urlretrieve

157     """Tests urllib.urlretrieve using the network."""
159 def urlretrieve(self, *args):
160 return _open_with_retry(urllib.urlretrieve, *args)
164 file_location,info = self.urlretrieve("http://www.example.com/")
166 " urlretrieve is not a valid path")
170 " by urlretrieve failed")
177 file_location,info = self.urlretrieve("http://www.example.com/",
189 # Make sure header returned as 2nd value from urlretrieve is good.
190 file_location, header = self.urlretrieve("http://www.example.com/")
197 file_location, fileheaders = self.urlretrieve(logo)