diff --git a/tests/test_client.py b/tests/test_client.py index 9f26873..533616c 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1214,6 +1214,10 @@ async def test_bluetooth_gatt_start_notify( # Ensure abort callback is a no-op after cancel # and doesn't raise abort_cb() + await client.disconnect(force=True) + # Ensure abort callback is a no-op after disconnect + # and does not raise + await cancel_cb() @pytest.mark.asyncio