Ensure Bluetooth notifies can safely be cancelled after disconnect
This commit is contained in:
parent
2652ea6836
commit
8e86fad242
|
@ -1217,7 +1217,7 @@ async def test_bluetooth_gatt_start_notify(
|
|||
await client.disconnect(force=True)
|
||||
# Ensure abort callback is a no-op after disconnect
|
||||
# and does not raise
|
||||
abort_cb()
|
||||
await cancel_cb()
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
Loading…
Reference in New Issue