1 # Copyright 2022 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 PRESUBMIT_VERSION = '2.0.0'
8 def CheckPythonTests(input_api, output_api):
9 return input_api.RunTests(
10 input_api.canned_checks.GetUnitTestsInDirectory(
13 input_api.PresubmitLocalPath(),
14 files_to_check=[r'.+_(?:unit)?test\.py$']))