summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-10-19 02:14:46 -0300
committerdrebs <drebs@leap.se>2016-12-12 09:12:00 -0200
commit288434178a4e89f86b9740cfe77a4dc0ce9e45f7 (patch)
tree783e5d62a48fad4f31782922386bd0ef76c14505 /testing
parent8ff1f0b781c49b88da13af390e4d118ad3e77b43 (diff)
[bug] total number of documents
Parsing from metadata we can store the total of docs and handle it for the doc parser in order to be able to keep consistent events info.
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/sync/test_sync_target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/sync/test_sync_target.py b/testing/tests/sync/test_sync_target.py
index ef034142..17223606 100644
--- a/testing/tests/sync/test_sync_target.py
+++ b/testing/tests/sync/test_sync_target.py
@@ -63,7 +63,7 @@ class TestSoledadParseReceivedDocResponse(unittest.TestCase):
"""
def parse(self, stream):
- parser = DocStreamReceiver(None, None, lambda x, y: 42)
+ parser = DocStreamReceiver(None, None, lambda *_: 42)
parser.dataReceived(stream)
parser.finish()