blob: 1f9330f8e58fd895b22e2b30efbc787e5c853b19 [file] [log] [blame]
Richard Levasseur3a57e4a2023-09-18 16:41:06 -07001# Copyright 2022 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14"""Implementation of macro-half of py_test rule."""
15
Richard Levasseur09109e32023-09-20 15:40:51 -070016load(":common_bazel.bzl", "convert_legacy_create_init_to_int")
Richard Levasseur7c5e7cf2024-10-29 20:32:35 -070017load(":py_test_rule.bzl", py_test_rule = "py_test")
Richard Levasseur3a57e4a2023-09-18 16:41:06 -070018
19def py_test(**kwargs):
20 convert_legacy_create_init_to_int(kwargs)
21 py_test_rule(**kwargs)