code: def ListDevices(self):
      '''List all known devices
      '''
      devices = []
  
      for obj in mockobject.objects.keys():
          if obj.startswith('/org/bluez/') and 'dev_' in obj:
              devices.append(dbus.ObjectPath(obj, variant_level=1))
  
      return dbus.Array(devices, variant_level=1f ListDevices(self):
      '''List all known devices
      '''
      devices = []
  
      for obj in mockobject.objects.keys():
          if obj.startswith('/org/bluez/') and 'dev_' in obj:
              devices.append(dbus.ObjectPath(obj, variant_level=1))
  
      return dbus.Array(devices, variant_level=1)
docs: List all known devices