summaryrefslogtreecommitdiff
path: root/tests/test_logs.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-01-16 11:04:42 -0200
committerdrebs <drebs@leap.se>2013-01-16 11:04:42 -0200
commit42877891fc5468c674e95384153e68659c51976e (patch)
tree64b8d007261525ae11db694e4bf1081b69467304 /tests/test_logs.py
parentc60505094e20ffbae5753383cfd73825c7a0114d (diff)
Couch backend passes test_sync without indexes.
Diffstat (limited to 'tests/test_logs.py')
-rw-r--r--tests/test_logs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_logs.py b/tests/test_logs.py
index a6c6e282..293425ad 100644
--- a/tests/test_logs.py
+++ b/tests/test_logs.py
@@ -1,3 +1,4 @@
+import ipdb
import unittest2 as unittest
from leap.soledad.backends.objectstore import TransactionLog, SyncLog, ConflictLog
@@ -39,7 +40,7 @@ class LogTestCase(unittest.TestCase):
(1, 'tran_1'), 'error getting replica gen and trans id')
# test setting
log.set_replica_gen_and_trans_id('replica_1', 2, 'tran_12')
- self.assertEqual(len(log._log), 3, 'error in log size after setting')
+ self.assertEqual(len(log._data), 3, 'error in log size after setting')
self.assertEqual(log.get_replica_gen_and_trans_id('replica_1'),
(2, 'tran_12'), 'error setting replica gen and trans id')
self.assertEqual(log.get_replica_gen_and_trans_id('replica_2'),