diff options
Diffstat (limited to 'tests/test_subcmds_sync.py')
-rw-r--r-- | tests/test_subcmds_sync.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_subcmds_sync.py b/tests/test_subcmds_sync.py index 5955e404..940c69fc 100644 --- a/tests/test_subcmds_sync.py +++ b/tests/test_subcmds_sync.py | |||
@@ -801,6 +801,7 @@ class InterleavedSyncTest(unittest.TestCase): | |||
801 | with mock.patch("subcmds.sync.SyncBuffer") as mock_sync_buffer: | 801 | with mock.patch("subcmds.sync.SyncBuffer") as mock_sync_buffer: |
802 | mock_sync_buf_instance = mock.MagicMock() | 802 | mock_sync_buf_instance = mock.MagicMock() |
803 | mock_sync_buf_instance.Finish.return_value = True | 803 | mock_sync_buf_instance.Finish.return_value = True |
804 | mock_sync_buf_instance.errors = [] | ||
804 | mock_sync_buffer.return_value = mock_sync_buf_instance | 805 | mock_sync_buffer.return_value = mock_sync_buf_instance |
805 | 806 | ||
806 | result_obj = self.cmd._SyncProjectList(opt, [0]) | 807 | result_obj = self.cmd._SyncProjectList(opt, [0]) |
@@ -909,6 +910,7 @@ class InterleavedSyncTest(unittest.TestCase): | |||
909 | with mock.patch("subcmds.sync.SyncBuffer") as mock_sync_buffer: | 910 | with mock.patch("subcmds.sync.SyncBuffer") as mock_sync_buffer: |
910 | mock_sync_buf_instance = mock.MagicMock() | 911 | mock_sync_buf_instance = mock.MagicMock() |
911 | mock_sync_buf_instance.Finish.return_value = True | 912 | mock_sync_buf_instance.Finish.return_value = True |
913 | mock_sync_buf_instance.errors = [] | ||
912 | mock_sync_buffer.return_value = mock_sync_buf_instance | 914 | mock_sync_buffer.return_value = mock_sync_buf_instance |
913 | 915 | ||
914 | result_obj = self.cmd._SyncProjectList(opt, [0]) | 916 | result_obj = self.cmd._SyncProjectList(opt, [0]) |