Prepare MD downloads for Canary/Chromium
[chromium-blink-merge.git] / tools / vim / PRESUBMIT.py
blob8b0e945be8e7acaa704c34763ebf399a5510041e
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 """Presubmit tests for /tools/vim.
7 Runs Python unit tests in /tools/vim/tests on upload.
8 """
10 def CheckChangeOnUpload(input_api, output_api):
11 return input_api.canned_checks.RunUnitTestsInDirectory(
12 input_api, output_api, 'tests', whitelist=r'.*test.py')