diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-09-11 19:28:33 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-09-11 20:03:09 -0300 |
commit | 4856c49e93a4ba67055c0dc3e8b4cdbaeabc4940 (patch) | |
tree | 11c0e4de102f03ef84b7de327834b6c44c096f3f /common/src/leap/soledad/common/tests/test_sqlcipher_sync.py | |
parent | 6956525a0f325765d9ef0e8dcd3ad5f4a55545ed (diff) |
[tests] isolate database names, use uuid
We are using a single CouchDB install, which may cause tests to overlap
since many of them uses the same database name, hurting isolation. This
change tries to use uuid on most of it. Also changes for couch_url and
couch_port introduced by removal of CouchDB process.
Diffstat (limited to 'common/src/leap/soledad/common/tests/test_sqlcipher_sync.py')
-rw-r--r-- | common/src/leap/soledad/common/tests/test_sqlcipher_sync.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py b/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py index af2d0e2a..ead4ee5f 100644 --- a/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py +++ b/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py @@ -20,10 +20,12 @@ Test sqlcipher backend sync. import json +import os from u1db import sync from u1db import vectorclock from u1db import errors +from uuid import uuid4 from testscenarios import TestWithScenarios from urlparse import urljoin |