Skip to content

Commit aea3bbe

Browse files
committed
Set endpoint to none if there was nothing on the command line
1 parent 7bab72f commit aea3bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_testing/matter_testing_support.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ def convert_args_to_matter_config(args: argparse.Namespace) -> MatterTestConfig:
12461246
config.pics = {} if args.PICS is None else read_pics_from_file(args.PICS)
12471247
config.tests = [] if args.tests is None else args.tests
12481248
config.timeout = args.timeout # This can be none, we pull the default from the test if it's unspecified
1249-
config.endpoint = 0 if args.endpoint is None else args.endpoint
1249+
config.endpoint = args.endpoint # This can be None, the get_endpoint function allows the tests to supply a default
12501250

12511251
config.controller_node_id = args.controller_node_id
12521252
config.trace_to = args.trace_to

0 commit comments

Comments
 (0)