Skip to content

Instantly share code, notes, and snippets.

@hyunchel
Created November 19, 2014 20:53
Show Gist options
  • Save hyunchel/d8f33a9fc3c2c0f83b9a to your computer and use it in GitHub Desktop.
Save hyunchel/d8f33a9fc3c2c0f83b9a to your computer and use it in GitHub Desktop.
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
E
======================================================================
ERROR: test_3B_URLRETRIEVE_multiple_requests (__main__.TestExampleRequest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "algo_test.py", line 335, in test_3B_URLRETRIEVE_multiple_requests
self.test_3A_URLRETRIEVE_single_request()
File "algo_test.py", line 314, in test_3A_URLRETRIEVE_single_request
urllib.urlretrieve(requestURL, 'jsonfeedback.html')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 94, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 240, in retrieve
fp = self.open(url, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 208, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 352, in open_http
'got a bad status line', None)
IOError: ('http protocol error', 0, 'got a bad status line', None)
----------------------------------------------------------------------
Ran 1 test in 120.183s
FAILED (errors=1)
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 67.254s
OK
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 44.149s
OK
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 26.259s
OK
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 28.196s
OK
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 27.091s
OK
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
.
----------------------------------------------------------------------
Ran 1 test in 29.503s
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment