

def test_board_json_output(platformio_setup, clirunner, validate_cliresult):
    result = clirunner.invoke(cmd_boards, ['cortex', '--json-output'])
    result(result)
    boards = json.loads(result.output)
    assert isinstance(boards, dict)
    assert ('teensy30' in boards)

dataset/ETHPy150Open platformio/platformio/tests/commands/test_boards.py test_board_json_output/VarMisuse@29/51 `validate_cliresult`->`result`