def METHOD_NAME(pydevice_mock, micropy_obj, runner):
    pydevice_mock.side_effect = SystemExit()
    result = runner.invoke(app, ["create", "/dev/port"], obj=micropy_obj)
    assert result.return_value is None