test against couch 2 - #26
Conversation
Fix docker
|
What's your plan for this? Do you think it's necessary to make this whole library work with couch2? |
|
No. I plan on just ripping out the parts that don't work in couch 2, since we don't use that anymore (except swiss, which should get moved at some point) I plan on working on #24 for the hackathon and realized that I had removed some tests there because they don't actually work in couch 2 |
|
Ripped out stuff that's specific to couch 1, and fixed some tests. There's a doc folder that looks autogenerated. guessing it powered (now defunct) couchdbkit.org. There aren't any docs about generating the docs. should we kill that folder too? |
snopoke
left a comment
There was a problem hiding this comment.
Looks good, just one question about a test
|
|
||
| del self.Server['couchdbkit_test'] | ||
|
|
||
| def testMultipleDocCOnflict(self): |
There was a problem hiding this comment.
what's wrong with this test? Seems like it's just the last bit that should be removed (with all_or_nothing)
|
I think this is good to go |
Realized we've never actually tested this on couch 2. Here's some fun failures:
reason":"all_or_nothing is not supported"}Unauthorized: {"error":"forbidden","reason":"Temporary views are not supported in CouchDB"}PreconditionFailed: The database could not be created, the file already exists.@dannyroberts @snopoke