mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
test_ipv6_connection.py : added try except for checking if interface is up. test_ipv4_conneciton.py : moved print to debug
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -95,7 +95,10 @@ class IPv6Test(LFCliBase):
|
||||
debug_=self.debug)
|
||||
if self.debug:
|
||||
print(sta_status)
|
||||
if sta_status is None or sta_status['interface'] is None or sta_status['interface']['ap'] is None:
|
||||
try:
|
||||
if (sta_status is None) or (sta_status['interface'] is None) or (sta_status['interface']['ap'] is None):
|
||||
continue
|
||||
except:
|
||||
continue
|
||||
if len(sta_status['interface']['ap']) == 17 and sta_status['interface']['ap'][-3] == ':':
|
||||
if self.debug:
|
||||
|
||||
Reference in New Issue
Block a user