diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-09-18 14:34:04 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-10-04 11:15:27 +0000 |
commit | e6430e577f105ad8813c92e75c54660c4985026e (patch) | |
tree | 88115e5d1fb471fea807111924dcccbeadbf9e4f /chromium/PRESUBMIT_test_mocks.py | |
parent | 53d399fe6415a96ea6986ec0d402a9c07da72453 (diff) | |
download | qtwebengine-chromium-e6430e577f105ad8813c92e75c54660c4985026e.tar.gz |
BASELINE: Update Chromium to 61.0.3163.99
Change-Id: I8452f34574d88ca2b27af9bd56fc9ff3f16b1367
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/PRESUBMIT_test_mocks.py')
-rw-r--r-- | chromium/PRESUBMIT_test_mocks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/PRESUBMIT_test_mocks.py b/chromium/PRESUBMIT_test_mocks.py index c269deec1fb..e2e43e35372 100644 --- a/chromium/PRESUBMIT_test_mocks.py +++ b/chromium/PRESUBMIT_test_mocks.py @@ -27,6 +27,7 @@ class MockInputApi(object): self.files = [] self.is_committing = False self.change = MockChange([]) + self.presubmit_local_path = os.path.dirname(__file__) def AffectedFiles(self, file_filter=None, include_deletes=False): return self.files @@ -38,7 +39,7 @@ class MockInputApi(object): return self.files def PresubmitLocalPath(self): - return os.path.dirname(__file__) + return self.presubmit_local_path def ReadFile(self, filename, mode='rU'): if hasattr(filename, 'AbsoluteLocalPath'): |