summaryrefslogtreecommitdiff
path: root/test/test-health-sink
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-07-04 14:31:00 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-04 15:43:06 +0300
commit5a4951dae68e56b24419a4f8b41e34537af0b698 (patch)
treed975ce33f97ef77d45688fb3180310413b976eee /test/test-health-sink
parent4a3f496862c30d5373f1651c093951a5a42929a4 (diff)
downloadbluez-5a4951dae68e56b24419a4f8b41e34537af0b698.tar.gz
adapter: remove deprecated ListDevices() method
Diffstat (limited to 'test/test-health-sink')
-rwxr-xr-xtest/test-health-sink2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-health-sink b/test/test-health-sink
index ce7337a52..7ee5e1aa3 100755
--- a/test/test-health-sink
+++ b/test/test-health-sink
@@ -47,7 +47,7 @@ while select == None:
adapter = dbus.Interface(bus.get_object("org.bluez", select),
"org.bluez.Adapter")
-devices = adapter.ListDevices()
+devices = adapter.GetProperties()["Devices"]
if len(devices) == 0:
print("No devices available")