google / gdata-python-client

445 stars 228 forks source link

testRecordResponse (atom_tests.mock_http_test.MockHttpClientUnitTest) ... FAIL #12

Open stegro opened 9 years ago

stegro commented 9 years ago

Hello, I just cloned and installed, but a single testcase fails (Python version is 2.7.5+), all others pass. Is there something not uptodate maybe? It seems that it queries http://www.google.com/base/feeds/snippets?max-results=1 which does not exist.

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

cheers

MartinDatadog commented 9 years ago

Running into the exact same error.

imightbemary commented 9 years ago

Also getting this error

Murvee commented 8 years ago

fix the code.

  1. In lines 47 and 55, replace the Google URL with http://www.example.org 2: In line 50, deplace '<?xml' with '<!doctype'