ct_us_001.json : updates to short test

lf_check.py : initial steps towards getting radio firmware

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-12 21:45:12 -06:00
parent 630e7851e1
commit d963dde407
2 changed files with 17 additions and 0 deletions

View File

@@ -271,6 +271,11 @@ class lf_check():
time.sleep(1)
return lanforge_gui_version
def get_radio_status(self):
radio_status = self.json_get("/radiostatus/all")
print("radio status {radio_status}".format(radio_status=radio_status))
# NOT complete : will send the email results
def send_results_email(self, report_file=None):
if (report_file is None):
@@ -1154,6 +1159,8 @@ Example :
except:
print("lanforge_gui_version exception")
#check.get_radio_status()
# LANforge and scripts config
lf_test_setup = pd.DataFrame()
lf_test_setup['LANforge'] = lanforge_node_version