def METHOD_NAME():
    yield  # do you really want to change PIN?
    assert "PIN SETTINGS" == layout().title()
    client.debug.press_yes()
    yield  # enter current PIN
    assert "PinKeyboard" in layout().all_components()
    client.debug.input("1234")
    yield  # enter new PIN
    assert "PinKeyboard" in layout().all_components()
    client.debug.input("1234")
    yield  # enter new PIN again
    assert "PinKeyboard" in layout().all_components()
    client.debug.input("1234")
    yield  # Pin change successful
    assert "PIN changed" in layout().text_content()
    client.debug.press_yes()