Files
trezor-firmware/tests/device_tests/test_ble.py
matejcik 6e3018509b refactor(python): rework session-based API
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]
2026-02-03 14:47:31 +01:00

12 lines
345 B
Python

import pytest
from trezorlib import ble
from trezorlib.debuglink import DebugSession 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.client.ping("")