google / gdata-python-client

443 stars 227 forks source link

Test failed: #32

Open titovanton opened 9 years ago

titovanton commented 9 years ago

FAIL: testRecordResponse (atom_tests.mock_http_test.MockHttpClientUnitTest)

Traceback (most recent call last): File "/home/titovanton/gdata-python-client/tests/atom_tests/mock_http_test.py", line 49, in testRecordResponse self.assertEquals(live_response.status, 200) AssertionError: 404 != 200


Ran 3 tests in 0.879s

FAILED (failures=1) Traceback (most recent call last): File "tests/run_data_tests.py", line 57, in RunAllTests() File "tests/run_data_tests.py", line 54, in RunAllTests test_runner.RunAllTests() File "/home/titovanton/gdata-python-client/tests/module_test_runner.py", line 58, in RunAllTests raise Exception('Tests failed!') Exception: Tests failed!

r0nni3 commented 9 years ago

I'm having the same problem.

...
FAIL: testRecordResponse (atom_tests.mock_http_test.MockHttpClientUnitTest)
...

but in the traceback of the error, outputs:

...
Traceback (most recent call last):
    File "/Users/ronnie/Development/ContactSergeant/gdata-python-client/tests/atom_tests/mock_http_test.py", line 49, in testRecordResponse
...

In that file where the error occurs, two line above where de error occurs, line 47, there is a GET request to an url that apparently is not working. Broken URL

...
     live_response = self.client.request('GET',
         'http://www.google.com/base/feeds/snippets?max-results=1') #line 47
     live_response_body = live_response.read()
     self.assertEquals(live_response.status, 200) #line 49
...

Hope this helps to get the notification to the appropriate person.

msjaiswal commented 9 years ago

Beating the drums again. Hoping to get more priority to this one. Thanks.