Index: tests/presubmit_unittest.py |
diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py |
index 5457170b8aa914a673eda8e2bd528910b0011233..2895e32cd5c596d080a28b1f9f0b90fe41ecf125 100755 |
--- a/tests/presubmit_unittest.py |
+++ b/tests/presubmit_unittest.py |
@@ -513,8 +513,8 @@ class PresubmitUnittest(PresubmitTestsBase): |
os.path.isfile(full_path).AndReturn(True) |
presubmit.scm.GIT.GenerateDiff( |
- self.fake_root_dir, files=[], full_move=True, branch=None |
- ).AndReturn('\n'.join(unified_diff)) |
+ self.fake_root_dir, files=[], full_move=True, branch=None, |
+ branch_head='HEAD',).AndReturn('\n'.join(unified_diff)) |
self.mox.ReplayAll() |