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.
10 def CheckChangeOnUpload(input_api
, output_api
):
11 return input_api
.canned_checks
.RunUnitTestsInDirectory(
12 input_api
, output_api
, 'tests', whitelist
=r
'.*test.py')