summaryrefslogtreecommitdiff
path: root/common/pkg
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-08-11 11:40:34 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-08-12 17:17:20 -0300
commit91828a5270ce6fbf43ed3a8cb46e5a017e1b0c7f (patch)
tree24fd15d00b3fe2dceb4f4e6c574f11b6deeb2519 /common/pkg
parent9f9ef4198b71b0396c35822b549346cda5795bc8 (diff)
[bug] fix several things on tests
* redefine the BaseLeapTest class so it inherits from twisted.trial.unittest.TestCase. * allow passing the source_replica_uid when creating the sync target. This is needed because the SoledadHTTPSyncTarget needs to be instantiated with the source_replica_uid passed as a parameter. * close the sync target in tests that use it. * raise and U1DBError instead of an Exception on failure_and_retry test, because otherwise the u1db http app server will re-raise the Exception and twisted's WSGI server will raise the exception * set defer_decryption=False in some sync_exchange() calls so the call is consistent with soledad instantiation in tests and the new signature of that method. * yield get_sync_info() in tests that use this method.
Diffstat (limited to 'common/pkg')
0 files changed, 0 insertions, 0 deletions