Commit 417a8475 authored by Vincent Pelletier's avatar Vincent Pelletier

waiting_for_unfinished_tids is not expected to be cleaned on reset.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2447 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fbb74a19
...@@ -59,7 +59,6 @@ class StorageReplicatorTests(NeoUnitTestBase): ...@@ -59,7 +59,6 @@ class StorageReplicatorTests(NeoUnitTestBase):
replicator.task_dict = {'foo': 'bar'} replicator.task_dict = {'foo': 'bar'}
replicator.current_partition = 'foo' replicator.current_partition = 'foo'
replicator.current_connection = 'foo' replicator.current_connection = 'foo'
replicator.waiting_for_unfinished_tids = 'foo'
replicator.unfinished_tid_list = ['foo'] replicator.unfinished_tid_list = ['foo']
replicator.replication_done = 'foo' replicator.replication_done = 'foo'
replicator.reset() replicator.reset()
...@@ -67,7 +66,6 @@ class StorageReplicatorTests(NeoUnitTestBase): ...@@ -67,7 +66,6 @@ class StorageReplicatorTests(NeoUnitTestBase):
self.assertEqual(replicator.task_dict, {}) self.assertEqual(replicator.task_dict, {})
self.assertEqual(replicator.current_partition, None) self.assertEqual(replicator.current_partition, None)
self.assertEqual(replicator.current_connection, None) self.assertEqual(replicator.current_connection, None)
self.assertFalse(replicator.waiting_for_unfinished_tids)
self.assertEqual(replicator.unfinished_tid_list, None) self.assertEqual(replicator.unfinished_tid_list, None)
self.assertTrue(replicator.replication_done) self.assertTrue(replicator.replication_done)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment