Skip to content

Commit 17e465e

Browse files
committed
Fix endpoint default on command line
1 parent 5a904a1 commit 17e465e

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
@@ -1638,7 +1638,7 @@ def parse_matter_test_args(argv: Optional[List[str]] = None) -> MatterTestConfig
16381638
metavar='NODE_ID', dest='dut_node_ids', default=[_DEFAULT_DUT_NODE_ID],
16391639
help='Node ID for primary DUT communication, '
16401640
'and NodeID to assign if commissioning (default: %d)' % _DEFAULT_DUT_NODE_ID, nargs="+")
1641-
basic_group.add_argument('--endpoint', type=int, default=0, help="Endpoint under test")
1641+
basic_group.add_argument('--endpoint', type=int, default=None, help="Endpoint under test")
16421642
basic_group.add_argument('--app-pid', type=int, default=0, help="The PID of the app against which the test is going to run")
16431643
basic_group.add_argument('--timeout', type=int, help="Test timeout in seconds")
16441644
basic_group.add_argument("--PICS", help="PICS file path", type=str)

0 commit comments

Comments
 (0)