Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Test failed: #32

Open
titovanton opened this issue Aug 3, 2015 · 2 comments
Open

Test failed: #32

titovanton opened this issue Aug 3, 2015 · 2 comments

Comments

@titovanton
Copy link

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
Copy link

r0nni3 commented Aug 10, 2015

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants