Merge lp://staging/~pedronis/u1db/improve-reusability-of-sync-tests into lp://staging/u1db

Proposed by Samuele Pedroni
Status: Merged
Approved by: Samuele Pedroni
Approved revision: 409
Merged at revision: 407
Proposed branch: lp://staging/~pedronis/u1db/improve-reusability-of-sync-tests
Merge into: lp://staging/u1db
Diff against target: 447 lines (+150/-19)
4 files modified
u1db/__init__.py (+10/-0)
u1db/remote/http_target.py (+10/-0)
u1db/tests/c_backend_wrapper.pyx (+2/-0)
u1db/tests/test_sync.py (+128/-19)
To merge this branch: bzr merge lp://staging/~pedronis/u1db/improve-reusability-of-sync-tests
Reviewer Review Type Date Requested Status
Eric Casteleijn (community) Approve
Review via email: mp+125575@code.staging.launchpad.net

Commit message

improve reusuability of the sync tests

Description of the change

improve reusuability of the sync tests:

- distinguish tests that need shallow hooking into the target vs. tests that need to hook to follow the inner
  working of sync_exchange

- in DatabaseSyncTests annotate database creations with their sync role (source, target, both)

To post a comment you must log in.
Revision history for this message
Eric Casteleijn (thisfred) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches