Index: tools/auto_bisect/PRESUBMIT.py |
diff --git a/tools/auto_bisect/PRESUBMIT.py b/tools/auto_bisect/PRESUBMIT.py |
index c06c8259658bd06fff5d4f89fdd2452a90472b6e..0cfdd189ddc7911097dd8eefac3f739672c816c8 100644 |
--- a/tools/auto_bisect/PRESUBMIT.py |
+++ b/tools/auto_bisect/PRESUBMIT.py |
@@ -18,6 +18,7 @@ CONFIG_FILES = [ |
'run-perf-test.cfg' |
] |
+ |
def CheckChangeOnUpload(input_api, output_api): |
return _CommonChecks(input_api, output_api) |
@@ -88,6 +89,10 @@ def _RunPyLint(input_api, output_api): |
"""Runs unit tests for auto-bisect.""" |
telemetry_path = os.path.join( |
input_api.PresubmitLocalPath(), os.path.pardir, 'telemetry') |
+ mock_path = os.path.join( |
+ input_api.PresubmitLocalPath(),os.path.pardir, os.path.pardir, |
+ 'third_party', 'pymock') |
tests = input_api.canned_checks.GetPylint( |
- input_api, output_api, extra_paths_list=[telemetry_path]) |
+ input_api, output_api, extra_paths_list=[telemetry_path, mock_path]) |
return input_api.RunTests(tests) |
+ |