Merge lp:~jameinel/u1db/c-sync-to-http into lp:u1db
Proposed by
John A Meinel
Status: | Merged |
---|---|
Merged at revision: | 268 |
Proposed branch: | lp:~jameinel/u1db/c-sync-to-http |
Merge into: | lp:u1db |
Diff against target: |
100 lines (+58/-4) 2 files modified
u1db/tests/c_backend_wrapper.pyx (+5/-4) u1db/tests/test_c_backend.py (+53/-0) |
To merge this branch: | bzr merge lp:~jameinel/u1db/c-sync-to-http |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Casteleijn (community) | Approve | ||
Review via email: mp+104563@code.launchpad.net |
Description of the change
This adds a couple of integration tests that we were missing.
Namely, that we use a real HTTP (and a real OAuth + HTTP) server and makes sure that the C-level sync code is able to have the two objects talk to each other.
We had code that the C HTTP Sync Target acts like all other sync targets, but not an end-to-end via C test.
It turned out that we needed to play with the gil code a bit, because you have libcurl code waiting for a response, and need to let the python server run. But we've done that elsewhere as well.
The good thing, is that it just worked, and we didn't have to actually change any code.
To post a comment you must log in.
+1