Ensure Bluetooth notifies can safely be cancelled after disconnect

This commit is contained in:
J. Nick Koston 2023-11-26 15:24:25 -06:00
parent 2652ea6836
commit 8e86fad242
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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