| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index b80c836c7276f51b027bb14519cad2abffe5a8a3..18a3d3833f2c52850057d1538ea619e5b565bd31 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -29,7 +29,7 @@ def CommonChecks(input_api, output_api, tests_to_black_list):
|
| r'^cpplint_chromium\.py$',
|
| r'^python_bin[\/\\].+',
|
| r'^svn_bin[\/\\].+',
|
| - r'^tests[\/\\]\w+?[\/\\].+']
|
| + r'^testing_support[\/\\]_rietveld[\/\\].+']
|
| results.extend(input_api.canned_checks.RunPylint(
|
| input_api,
|
| output_api,
|
| @@ -59,7 +59,7 @@ def RunGitClTests(input_api, output_api):
|
| old_sys_path = sys.path
|
| try:
|
| sys.path = [input_api.PresubmitLocalPath()] + sys.path
|
| - from tests import local_rietveld # pylint: disable=W0403
|
| + from testing_support import local_rietveld
|
| server = local_rietveld.LocalRietveld()
|
| finally:
|
| sys.path = old_sys_path
|
|
|