From 1050878e22064975d765eb1e336a901e24dbd076 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Thu, 27 Jul 2023 15:07:28 -0400 Subject: [PATCH] Python tests: fix tests flag (#28298) * Tests flag got missed in the config TEST: tested with --tests flag, saw only requested test run * python: proof why we need stronly typed languages --- src/python_testing/matter_testing_support.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python_testing/matter_testing_support.py b/src/python_testing/matter_testing_support.py index 7570f3ddcbe415..008848177b3271 100644 --- a/src/python_testing/matter_testing_support.py +++ b/src/python_testing/matter_testing_support.py @@ -818,6 +818,7 @@ def convert_args_to_matter_config(args: argparse.Namespace) -> MatterTestConfig: config.paa_trust_store_path = args.paa_trust_store_path config.ble_interface_id = args.ble_interface_id config.pics = {} if args.PICS is None else read_pics_from_file(args.PICS) + config.tests = [] if args.tests is None else args.tests config.controller_node_id = args.controller_node_id config.trace_to = args.trace_to