__main__.py
Go to the documentation of this file.
1 # Copyright 2021 The gRPC Authors
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 
15 import os
16 
17 from absl.testing import absltest
18 
19 from framework import xds_url_map_testcase # Needed for xDS flags
20 
21 _TEST_CASE_FOLDER = os.path.dirname(__file__)
22 
23 
24 def load_tests(loader: absltest.TestLoader, unused_tests, unused_pattern):
25  return loader.discover(_TEST_CASE_FOLDER,
26  pattern='*' +
27  xds_url_map_testcase.URL_MAP_TESTCASE_FILE_SUFFIX)
28 
29 
30 if __name__ == '__main__':
31  absltest.main()
tests.url_map.__main__.load_tests
def load_tests(absltest.TestLoader loader, unused_tests, unused_pattern)
Definition: __main__.py:24


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:26