Files
trezor-firmware/tests/device_tests/test_ble.py
2025-09-10 11:37:48 +03:00

12 lines
345 B
Python

import pytest
from trezorlib import ble
from trezorlib.debuglink import SessionDebugWrapper as Session
@pytest.mark.models("t3w1")
def test_ble_unpair_all(session: Session):
ble.unpair(session, all=True)
# `Success` is sent before unpairing is done, so we'll send another command just to "flush" the last screen.
session.ping("")