mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-05 21:28:03 +00:00
lf_check.py : pep8 linting autopep8
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
02d7f9c4aa
commit
ef9c02ad5c
@@ -88,6 +88,22 @@ Starting LANforge:
|
|||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
import requests
|
||||||
|
import pandas as pd
|
||||||
|
import paramiko
|
||||||
|
import shlex
|
||||||
|
import shutil
|
||||||
|
import csv
|
||||||
|
import subprocess
|
||||||
|
import json
|
||||||
|
import argparse
|
||||||
|
from time import sleep
|
||||||
|
import time
|
||||||
|
import logging
|
||||||
|
import socket
|
||||||
|
import importlib
|
||||||
|
import platform
|
||||||
|
import os
|
||||||
import datetime
|
import datetime
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
@@ -96,22 +112,6 @@ if sys.version_info[0] != 3:
|
|||||||
print("This script requires Python3")
|
print("This script requires Python3")
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
import os
|
|
||||||
import platform
|
|
||||||
import importlib
|
|
||||||
import socket
|
|
||||||
import logging
|
|
||||||
import time
|
|
||||||
from time import sleep
|
|
||||||
import argparse
|
|
||||||
import json
|
|
||||||
import subprocess
|
|
||||||
import csv
|
|
||||||
import shutil
|
|
||||||
import shlex
|
|
||||||
import paramiko
|
|
||||||
import pandas as pd
|
|
||||||
import requests
|
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||||
lf_report = importlib.import_module("lf_report")
|
lf_report = importlib.import_module("lf_report")
|
||||||
@@ -1496,7 +1496,6 @@ note if all json data (rig,dut,tests) in same json file pass same json in for a
|
|||||||
lf_suite_time['Suite End'] = [check.suite_end_time]
|
lf_suite_time['Suite End'] = [check.suite_end_time]
|
||||||
lf_suite_time['Suite Duration'] = [check.suite_duration]
|
lf_suite_time['Suite Duration'] = [check.suite_duration]
|
||||||
|
|
||||||
|
|
||||||
lf_test_summary = pd.DataFrame()
|
lf_test_summary = pd.DataFrame()
|
||||||
lf_test_summary['Tests Run'] = [check.tests_run]
|
lf_test_summary['Tests Run'] = [check.tests_run]
|
||||||
lf_test_summary['Success'] = [check.tests_success]
|
lf_test_summary['Success'] = [check.tests_success]
|
||||||
@@ -1605,5 +1604,6 @@ note if all json data (rig,dut,tests) in same json file pass same json in for a
|
|||||||
# print out locations of results
|
# print out locations of results
|
||||||
print("html_report_latest: {latest}".format(latest=html_report_latest))
|
print("html_report_latest: {latest}".format(latest=html_report_latest))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user