예제 #1
0
def test_none_dev_get_access(no_device_fxt):
    assert nm.get_access_point_by_ssid('ssid') is None
예제 #2
0
def test_get_access_point_by_ssid(device_fxt):
    assert nm.get_access_point_by_ssid("myssid")
    assert not nm.get_access_point_by_ssid("bogusssid")