Remove unused var in gatts_lib
Bug: 73728298
Test: Manual
Change-Id: Id792d26e218e756eb1a60cc4cd1b7758fe38df83
(cherry picked from commit a08fc30bdd16a089a33c35cb7357628f9da267d1)
diff --git a/acts/framework/acts/test_utils/bt/gatts_lib.py b/acts/framework/acts/test_utils/bt/gatts_lib.py
index 0345e4b..7916a92 100644
--- a/acts/framework/acts/test_utils/bt/gatts_lib.py
+++ b/acts/framework/acts/test_utils/bt/gatts_lib.py
@@ -44,14 +44,12 @@
gatt_server_callback = None
gatt_server_list = []
log = None
- mac_addr = None
service_list = []
write_mapping = {}
- def __init__(self, log, mac_addr, dut):
+ def __init__(self, log, dut):
self.dut = dut
self.log = log
- self.mac_addr = mac_addr
def list_all_uuids(self):
"""From the GATT Client, discover services and list all services,
diff --git a/acts/tests/google/ble/examples/GattServerExampleTest.py b/acts/tests/google/ble/examples/GattServerExampleTest.py
index cfdd052..cdd18df 100644
--- a/acts/tests/google/ble/examples/GattServerExampleTest.py
+++ b/acts/tests/google/ble/examples/GattServerExampleTest.py
@@ -61,7 +61,7 @@
@BluetoothBaseTest.bt_test_wrap
def test_create_gatt_server_db_example(self):
- gatts = GattServerLib(log=self.log, mac_addr=None, dut=self.dut)
+ gatts = GattServerLib(log=self.log, dut=self.dut)
gatts.setup_gatts_db(database=gatt_server_read_descriptor_sample)
self.log.info(gatts.list_all_uuids())
return True