summaryrefslogtreecommitdiff
path: root/tests/test_couch.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-09 22:27:22 -0200
committerdrebs <drebs@leap.se>2013-02-09 22:27:22 -0200
commitc6c0e0aadfe248fb8d907d12fce063dad359a140 (patch)
tree0ba050997da935fc833fbf6041a64ecf8db26b69 /tests/test_couch.py
parentac99a63c702fcca5b102a2e4e04416871c83347c (diff)
parente6f5027e42c8dbcde2a42cd48b9f7a54731fc10d (diff)
Merge branch 'develop' into feature/soledad-api
Diffstat (limited to 'tests/test_couch.py')
-rw-r--r--tests/test_couch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_couch.py b/tests/test_couch.py
index 09c7269e..3482b035 100644
--- a/tests/test_couch.py
+++ b/tests/test_couch.py
@@ -115,7 +115,7 @@ class CouchDBTestCase(unittest.TestCase):
class TestCouchBackendImpl(CouchDBTestCase):
def test__allocate_doc_id(self):
- db = couch.CouchDatabase('http://localhost:'+str(self.wrapper.port),
+ db = couch.CouchDatabase('http://localhost:' + str(self.wrapper.port),
'u1db_tests')
doc_id1 = db._allocate_doc_id()
self.assertTrue(doc_id1.startswith('D-'))
@@ -130,13 +130,13 @@ class TestCouchBackendImpl(CouchDBTestCase):
def make_couch_database_for_test(test, replica_uid):
port = str(test.wrapper.port)
- return couch.CouchDatabase('http://localhost:'+port, replica_uid,
+ return couch.CouchDatabase('http://localhost:' + port, replica_uid,
replica_uid=replica_uid or 'test')
def copy_couch_database_for_test(test, db):
port = str(test.wrapper.port)
- new_db = couch.CouchDatabase('http://localhost:'+port,
+ new_db = couch.CouchDatabase('http://localhost:' + port,
db._replica_uid + '_copy',
replica_uid=db._replica_uid or 'test')
gen, docs = db.get_all_docs(include_deleted=True)