Andrew Mellen | a2d7186 | 2022-11-10 19:01:24 | [diff] [blame] | 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. |
| 4 | |
| 5 | PRESUBMIT_VERSION = '2.0.0' |
| 6 | |
Andrew Mellen | a2d7186 | 2022-11-10 19:01:24 | [diff] [blame] | 7 | |
| 8 | def CheckPythonTests(input_api, output_api): |
| 9 | return input_api.RunTests( |
| 10 | input_api.canned_checks.GetUnitTestsInDirectory( |
| 11 | input_api, |
| 12 | output_api, |
| 13 | input_api.PresubmitLocalPath(), |
Takuto Ikuta | e108f10 | 2023-06-01 21:38:30 | [diff] [blame] | 14 | files_to_check=[r'.+_(?:unit)?test\.py$'])) |