Lines Matching refs:urlopen
307 self.assertTrue(urllib2.urlopen(self.server_url))
318 self.assertRaises(urllib2.HTTPError, urllib2.urlopen, self.server_url)
451 def urlopen(self, url, data=None, **kwargs): member in TestUrlopen
453 f = urllib2.urlopen(url, data, **kwargs)
495 f = urllib2.urlopen('http://localhost:%s/' % handler.port)
508 urllib2.urlopen('http://localhost:%s/weeble' % handler.port)
525 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port)
536 f = urllib2.urlopen('http://localhost:%s/bizarre' % handler.port, 'get=with_feeling')
546 data = self.urlopen("https://localhost:%s/bizarre" % handler.port, context=context)
552 data = self.urlopen("https://localhost:%s/bizarre" % handler.port,
557 self.urlopen("https://localhost:%s/bizarre" % handler.port,
562 self.urlopen("https://localhost:%s/bizarre" % handler.port,
569 self.urlopen("https://localhost:%s/bizarre" % handler.port,
584 self.urlopen("https://localhost:%s" % handler.port, context=context)
592 urllib2.urlopen(req)
598 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
610 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
621 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
652 urllib2.urlopen, "http://sadflkjsasf.i.nvali.d./")
658 data = urllib2.urlopen("http://localhost:%s" % handler.port)
666 data = urllib2.urlopen("http://localhost:%s" % handler.port)