libnm/tests: fix GetAccessPoints() in test-networkmanager-service.py for hidden APs
authorThomas Haller <thaller@redhat.com>
Mon, 5 Jan 2015 12:50:56 +0000 (13:50 +0100)
committerThomas Haller <thaller@redhat.com>
Mon, 5 Jan 2015 13:18:53 +0000 (14:18 +0100)
commit954c744bc0ac1b3260c0dfedb4ee7da8c29cb964
tree3646fd1daf841420e11a718d90a45d7630cacb9e
parent66ced4de564bc26e4799147dcce6fbbe1b430181
libnm/tests: fix GetAccessPoints() in test-networkmanager-service.py for hidden APs

There was a bug checking for "if a.ssid():". Refactor the whole line to
use a list comprehension.
tools/test-networkmanager-service.py