| Index: tests/presubmit_unittest.py
|
| diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
|
| index 679a574e3faeb4784b05d30c396f74a46a495387..8c0c5d664e7a65f58ab038a74adf9bae5822ff6d 100755
|
| --- a/tests/presubmit_unittest.py
|
| +++ b/tests/presubmit_unittest.py
|
| @@ -257,8 +257,8 @@ class PresubmitUnittest(PresubmitTestsBase):
|
| presubmit.scm.SVN.CaptureInfo(notfound).AndReturn({})
|
| presubmit.scm.SVN.CaptureInfo(flap).AndReturn(
|
| {'URL': 'svn:/foo/boo/flap.h'})
|
| - presubmit.scm.SVN.GenerateDiff(blat).AndReturn(self.presubmit_diffs)
|
| - presubmit.scm.SVN.GenerateDiff(notfound).AndReturn(self.presubmit_diffs)
|
| + presubmit.scm.SVN.GenerateDiff([blat]).AndReturn(self.presubmit_diffs)
|
| + presubmit.scm.SVN.GenerateDiff([notfound]).AndReturn(self.presubmit_diffs)
|
|
|
| self.mox.ReplayAll()
|
|
|
| @@ -776,8 +776,8 @@ class InputApiUnittest(PresubmitTestsBase):
|
| presubmit.scm.SVN.GetFileProperty(another, 'svn:mime-type').AndReturn(None)
|
| presubmit.scm.SVN.GetFileProperty(third_party, 'svn:mime-type'
|
| ).AndReturn(None)
|
| - presubmit.scm.SVN.GenerateDiff(blat).AndReturn(self.presubmit_diffs)
|
| - presubmit.scm.SVN.GenerateDiff(another).AndReturn(self.presubmit_diffs)
|
| + presubmit.scm.SVN.GenerateDiff([blat]).AndReturn(self.presubmit_diffs)
|
| + presubmit.scm.SVN.GenerateDiff([another]).AndReturn(self.presubmit_diffs)
|
|
|
| self.mox.ReplayAll()
|
|
|
|
|