Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a836bdb authored by uael's avatar uael Committed by Abel Lucas
Browse files

avatar: update tests after the bumble server move

Bug: 279461988
Change-Id: I98386f910771d10fd1f8b7be9426388d6b90664b
parent afcd758d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,7 +18,8 @@ import enum
import grpc
import logging

from avatar import BumblePandoraDevice, PandoraDevice, PandoraDevices, asynchronous, bumble_server
from avatar import BumblePandoraDevice, PandoraDevice, PandoraDevices, asynchronous
from bumble import pandora as bumble_server
from bumble.gatt import GATT_ASHA_SERVICE
from bumble.pairing import PairingDelegate
from bumble_experimental.asha import AshaGattService, AshaService
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@ import asyncio
import avatar
import logging

from avatar import BumblePandoraDevice, PandoraDevice, PandoraDevices, bumble_server
from avatar import BumblePandoraDevice, PandoraDevice, PandoraDevices
from bumble import pandora as bumble_server
from bumble.gatt import Characteristic, Service
from bumble.pairing import PairingConfig
from bumble_experimental.gatt import GATTService
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ import grpc
import logging
import struct

from avatar.bumble_server import utils
from bumble.core import AdvertisingData
from bumble.device import Connection, Connection as BumbleConnection, Device
from bumble.gatt import (
@@ -32,6 +31,7 @@ from bumble.gatt import (
    TemplateService,
)
from bumble.l2cap import Channel
from bumble.pandora import utils
from bumble.utils import AsyncRunner
from google.protobuf.empty_pb2 import Empty  # pytype: disable=pyi-error
from pandora_experimental.asha_grpc_aio import AshaServicer
+1 −1
Original line number Diff line number Diff line
@@ -16,10 +16,10 @@ import asyncio
import grpc
import logging

from avatar.bumble_server import utils
from bumble.core import ProtocolError
from bumble.device import Connection as BumbleConnection, Device, Peer
from bumble.gatt_client import CharacteristicProxy, ServiceProxy
from bumble.pandora import utils
from pandora_experimental.gatt_grpc_aio import GATTServicer
from pandora_experimental.gatt_pb2 import (
    SUCCESS,