def METHOD_NAME(cmd):
    # DAI COIN with display
    result: list = []
    with pytest.raises(ethereum_client.exception.errors.DenyError) as error:
        with cmd.get_public_key(bip32_path="44'/700'/1'/0/0", display=True, result=result) as exchange:
            sleep(0.5)
            if cmd.model == "nanos":
                # Verify address
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00000.png")
                cmd.client.press_and_release('right')
                # Address 1/3, 2/3, 3/3
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00001.png")
                cmd.client.press_and_release('right')
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00002.png")
                cmd.client.press_and_release('right')
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00003.png")
                cmd.client.press_and_release('right')
                # Approve
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00004.png")
                cmd.client.press_and_release('right')
                # Reject
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00005.png")
                cmd.client.press_and_release('both')
            if cmd.model == "nanox" or cmd.model == "nanosp":
                # Verify address
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00000.png")
                cmd.client.press_and_release('right')
                # Address
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00001.png")
                cmd.client.press_and_release('right')
                # Approve
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00002.png")
                cmd.client.press_and_release('right')
                # Reject
                compare_screenshot(cmd, f"screenshots/pubkey/{PATH_IMG[cmd.model]}/reject_get_public_key/00003.png")
                cmd.client.press_and_release('both')
        assert error.args[0] == '0x6985'