Fix broken test script for network selection
[connman] / test / monitor-connman
index 97d3a6b..886373a 100755 (executable)
@@ -7,7 +7,7 @@ import dbus.mainloop.glib
 
 def property_changed(name, value, path, interface):
        iface = interface[interface.rfind(".") + 1:]
-       if (name == "Strength"):
+       if name in ["Strength", "Priority"]:
                val = int(value)
        else:
                val = str(value)