summaryrefslogtreecommitdiffstats
path: root/tests/test_git_superproject.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_git_superproject.py')
-rw-r--r--tests/test_git_superproject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_git_superproject.py b/tests/test_git_superproject.py
index e9b824d6..a24fc7f0 100644
--- a/tests/test_git_superproject.py
+++ b/tests/test_git_superproject.py
@@ -157,7 +157,7 @@ class SuperprojectTestCase(unittest.TestCase):
157""") 157""")
158 self._superproject = git_superproject.Superproject(manifest, self.repodir, 158 self._superproject = git_superproject.Superproject(manifest, self.repodir,
159 self.git_event_log) 159 self.git_event_log)
160 with mock.patch.object(self._superproject, '_GetBranch', return_value='junk'): 160 with mock.patch.object(self._superproject, '_branch', 'junk'):
161 sync_result = self._superproject.Sync() 161 sync_result = self._superproject.Sync()
162 self.assertFalse(sync_result.success) 162 self.assertFalse(sync_result.success)
163 self.assertTrue(sync_result.fatal) 163 self.assertTrue(sync_result.fatal)