diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-08-26 17:48:57 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-08-27 20:02:04 -0300 |
commit | 057f9c02894c05de4d1d4fc1f93ba86ec6bea96d (patch) | |
tree | af36188b5178b001b0b9d6e7b323fe513831025b /common/src/leap/soledad/common/tests/test_sqlcipher_sync.py | |
parent | 23ea0193a521a1f5cb539a342be594b7b7acedcf (diff) |
[tests] fix variable name from refactor
From:
[refactor] removing getters and setters from couch.py
_couch_url was a private variable with getter and setter doing the same
as a public variable. It is accessed all over the code, so being private
with getters and setters didnt make sense. This commit fixes the tests
to also follow this style from now on.
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 | 4 |
1 files changed, 2 insertions, 2 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 c57d6f61..af2d0e2a 100644 --- a/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py +++ b/common/src/leap/soledad/common/tests/test_sqlcipher_sync.py @@ -733,7 +733,7 @@ def _make_local_db_and_token_http_target(test, path='test'): test.startTwistedServer() # ensure remote db exists before syncing db = couch.CouchDatabase.open_database( - urljoin(test._couch_url, 'test'), + urljoin(test.couch_url, 'test'), create=True, replica_uid='test', ensure_ddocs=True) @@ -790,7 +790,7 @@ class SQLCipherSyncTargetTests( (doc.doc_id, doc.rev, doc.get_json(), gen, trans_id)) def make_app(self): - self.request_state = couch.CouchServerState(self._couch_url) + self.request_state = couch.CouchServerState(self.couch_url) return self.make_app_with_state(self.request_state) def set_trace_hook(self, callback, shallow=False): |