| Index: PRESUBMIT_test_mocks.py
|
| diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py
|
| index 373b52c6d3c68643cfe0622f1a622d1098dca7f8..0a2de9bd2d8d060a6be33c1796e859dd5bdb238a 100644
|
| --- a/PRESUBMIT_test_mocks.py
|
| +++ b/PRESUBMIT_test_mocks.py
|
| @@ -21,6 +21,7 @@ class MockInputApi(object):
|
| self.re = re
|
| self.os_path = os.path
|
| self.python_executable = sys.executable
|
| + self.platform = sys.platform
|
| self.subprocess = subprocess
|
| self.files = []
|
| self.is_committing = False
|
| @@ -121,6 +122,10 @@ class MockFile(object):
|
| """os.path.basename is called on MockFile so we need a get method."""
|
| return self._local_path[i]
|
|
|
| + def __len__(self):
|
| + """os.path.basename is called on MockFile so we need a len method."""
|
| + return len(self._local_path)
|
| +
|
|
|
| class MockAffectedFile(MockFile):
|
| def AbsoluteLocalPath(self):
|
|
|