summaryrefslogtreecommitdiff
path: root/test/test-health
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-health')
-rwxr-xr-xtest/test-health2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-health b/test/test-health
index f7d42418a..307e880a9 100755
--- a/test/test-health
+++ b/test/test-health
@@ -157,7 +157,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")