Skip to content

Commit bcc5af3

Browse files
committed
Added test for 'debugging_supported' field
1 parent 7dc75d3 commit bcc5af3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/test_board.py

+8
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,14 @@ def test_board_details(run_command):
467467
for programmer in gold_board_details["programmers"]:
468468
assert programmer in result["programmers"]
469469

470+
# Download samd core pinned to 1.8.8
471+
run_command("core install arduino:[email protected]")
472+
473+
result = run_command("board details -b arduino:samd:nano_33_iot --format json")
474+
assert result.ok
475+
result = json.loads(result.stdout)
476+
assert result["debugging_supported"] == True
477+
470478

471479
# old `arduino-cli board details` did not need -b <fqbn> flag to work
472480
def test_board_details_old(run_command):

0 commit comments

Comments
 (0)