diff options
author | drebs <drebs@leap.se> | 2013-01-16 11:04:42 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-01-16 11:04:42 -0200 |
commit | 8ee7ba49fd3ae902fd0a9d8a3a80b7b6a9ab999b (patch) | |
tree | 636f6d611f7636ff8623d350d936934b60a17cc6 /src/leap/soledad/tests/test_logs.py | |
parent | e83572610574e8d3d96c0117fdb45764ffbeb538 (diff) |
Couch backend passes test_sync without indexes.
Diffstat (limited to 'src/leap/soledad/tests/test_logs.py')
-rw-r--r-- | src/leap/soledad/tests/test_logs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/soledad/tests/test_logs.py b/src/leap/soledad/tests/test_logs.py index a6c6e282..293425ad 100644 --- a/src/leap/soledad/tests/test_logs.py +++ b/src/leap/soledad/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'), |