summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-08-04 17:48:21 -0300
committerdrebs <drebs@leap.se>2015-08-04 17:48:21 -0300
commitae8a16c9cf76b15cc046afeb6b958e17b00e0e26 (patch)
treeff3fd535bf150602f1a1d8f35c806256297a31aa /client/src
parent77a4f36680b0740d499a7700a5892b95696b58c8 (diff)
[test] add test for many documents decryption
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/encdecpool.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/leap/soledad/client/encdecpool.py b/client/src/leap/soledad/client/encdecpool.py
index b8805e12..8713497e 100644
--- a/client/src/leap/soledad/client/encdecpool.py
+++ b/client/src/leap/soledad/client/encdecpool.py
@@ -461,7 +461,7 @@ class SyncDecrypterPool(SyncEncryptDecryptPool):
:param doc_rev: The document Revision
:param doc_rev: str
:param content: The content of the document
- :type content: str
+ :type content: dict
:param gen: The document Generation
:type gen: int
:param trans_id: Transaction ID
@@ -486,15 +486,15 @@ class SyncDecrypterPool(SyncEncryptDecryptPool):
We store it in the staging area (the decrypted_docs dictionary) to be
picked up in order as the preceding documents are decrypted.
- :param doc_id: The Document ID.
+ :param doc_id: The document id
:type doc_id: str
- :param doc_rev: The Document Revision
- :param doc_rev: str
- :param content: the Content of the document
- :type content: str
- :param gen: the Document Generation
+ :param doc_rev: The document revision
+ :param doc_rev: str or dict
+ :param content: The content of the document
+ :type content: dict
+ :param gen: The document generation
:type gen: int
- :param trans_id: Transaction ID
+ :param trans_id: The transaction id
:type trans_id: str
:param idx: The index of this document in the current sync process.
:type idx: int