lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

Database.update does not pass its doctests #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Do the doctests in client.py:333
2. It will fails miserably
3.

What is the expected output? What do you see instead?
Expected:
<Document u'...'@u'...' {'type': 'Person', 'name': 'John Doe'}>
<Document u'...'@u'...' {'type': 'Person', 'name': 'Mary Jane'}>
<Document u'...'@u'...' {'type': 'City', 'name': 'Gotham City'}>
Instead:
(500, (u'EXIT', u'{{badmatch,{{obj,[{"type","Person"},{"name","John
Doe"}]},\n            {obj,[{"type","Person"},{"name","Mary Jane"}]},\n   
        {obj,[{"type","City"},{"name","Gotham City"}]}}},\n
[{couch_httpd,handle_db_request,3},\n  {couch_httpd,handle_request,2},\n 
{mochiweb_http,headers,4},\n  {proc_lib,init_p,5}]}'))

What version of the product are you using? On what operating system?
0.8.0

Please provide any additional information below.

Maybe it's a server problem

Original issue reported on code.google.com by romain.g...@gmail.com on 26 Jun 2008 at 2:20

GoogleCodeExporter commented 8 years ago
For now you need to use CouchDB-Python trunk with 0.8.0 until there's a new 
release.

Original comment by cmlenz on 26 Jun 2008 at 9:02