diff options
Diffstat (limited to 'tests/test_subcmds_sync.py')
| -rw-r--r-- | tests/test_subcmds_sync.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_subcmds_sync.py b/tests/test_subcmds_sync.py index 6c9cc9ab..6eb8a5a7 100644 --- a/tests/test_subcmds_sync.py +++ b/tests/test_subcmds_sync.py | |||
| @@ -681,6 +681,9 @@ class InterleavedSyncTest(unittest.TestCase): | |||
| 681 | # Mock _GetCurrentBranchOnly for worker tests. | 681 | # Mock _GetCurrentBranchOnly for worker tests. |
| 682 | mock.patch.object(sync.Sync, "_GetCurrentBranchOnly").start() | 682 | mock.patch.object(sync.Sync, "_GetCurrentBranchOnly").start() |
| 683 | 683 | ||
| 684 | self.cmd._fetch_times = mock.Mock() | ||
| 685 | self.cmd._local_sync_state = mock.Mock() | ||
| 686 | |||
| 684 | def tearDown(self): | 687 | def tearDown(self): |
| 685 | """Clean up resources.""" | 688 | """Clean up resources.""" |
| 686 | shutil.rmtree(self.repodir) | 689 | shutil.rmtree(self.repodir) |
