Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Database.update does not pass its doctests #18

@djc

Description

@djc

From romain.g...@gmail.com on June 26, 2008 16:20:21

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: http://code.google.com/p/couchdb-python/issues/detail?id=17

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions