Index: depot_tools/tests/presubmit_unittest.py |
=================================================================== |
--- depot_tools/tests/presubmit_unittest.py (revision 14635) |
+++ depot_tools/tests/presubmit_unittest.py (working copy) |
@@ -53,7 +53,7 @@ |
gcl.GetSVNFileProperty = MockGetSVNFileProperty |
self.original_ReadFile = gcl.ReadFile |
- def MockReadFile(path): |
+ def MockReadFile(path, dummy='r'): |
if path.count('nosuchfile'): |
return None |
elif path.endswith('isdir'): |