Signed-off-by: Jouni Malinen <j@w1.fi>
def get_fsts_id_by_sid(self, sid):
s = self.grequest("FST-MANAGER TEST_REQUEST GET_FSTS_ID " + sid)
if s == ' ' or s.startswith('FAIL'):
- raise Exception("Cannot get fsts_id for sid == " % sid)
+ raise Exception("Cannot get fsts_id for sid == %s" % sid)
return int(s)
def wait_for_iface_event(self, timeout):
except Exception, e:
if not str(e).startswith("Cannot attach"):
raise
+
+ try:
+ ap1.get_fsts_id_by_sid("123")
+ except Exception, e:
+ if not str(e).startswith("Cannot get fsts_id for sid"):
+ raise
finally:
fst_module_aux.disconnect_two_ap_sta_pairs(ap1, ap2, sta1, sta2)
fst_module_aux.stop_two_ap_sta_pairs(ap1, ap2, sta1, sta2)