Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: PRESUBMIT.py

Issue 8508015: Create a new depot_tools_testing_lib to move utility modules there (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Renamed to testing_support Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | pylintrc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « .gitignore ('k') | pylintrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698