Beispiel #1
0
 def do(url):
     with patch_urlopen(url, 'text/html', 'a'):
         return _defaultFetcher(url)
Beispiel #2
0
 def do(url):
     with patch_urlopen(url, exception=exception, args=args):
         return _defaultFetcher(url)
Beispiel #3
0
 def do(url):
     return _defaultFetcher(url)