| Index: PRESUBMIT_test_mocks.py
|
| diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py
|
| index 109b782c887821a60ce79cb91498643c58356c0e..772f405725be0f575c193ad0ecac46d93d973d06 100644
|
| --- a/PRESUBMIT_test_mocks.py
|
| +++ b/PRESUBMIT_test_mocks.py
|
| @@ -22,6 +22,7 @@ class MockInputApi(object):
|
| self.os_path = os.path
|
| self.platform = sys.platform
|
| self.python_executable = sys.executable
|
| + self.platform = sys.platform
|
| self.subprocess = subprocess
|
| self.files = []
|
| self.is_committing = False
|
| @@ -122,6 +123,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):
|
|
|