mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
lf_tr398v2_test: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -266,7 +266,6 @@ if sys.version_info[0] != 3:
|
|||||||
print("This script requires Python 3")
|
print("This script requires Python 3")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||||
|
|
||||||
cv_test_manager = importlib.import_module("py-json.cv_test_manager")
|
cv_test_manager = importlib.import_module("py-json.cv_test_manager")
|
||||||
@@ -309,7 +308,7 @@ class TR398v2Test(cvtest):
|
|||||||
self.lf_host = lf_host
|
self.lf_host = lf_host
|
||||||
self.lf_port = lf_port
|
self.lf_port = lf_port
|
||||||
self.lf_user = lf_user
|
self.lf_user = lf_user
|
||||||
self.lf_password =lf_password
|
self.lf_password = lf_password
|
||||||
self.instance_name = instance_name
|
self.instance_name = instance_name
|
||||||
self.config_name = config_name
|
self.config_name = config_name
|
||||||
self.dut5 = dut5
|
self.dut5 = dut5
|
||||||
@@ -330,13 +329,12 @@ class TR398v2Test(cvtest):
|
|||||||
# Nothing to do at this time.
|
# Nothing to do at this time.
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.sync_cv()
|
self.sync_cv()
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
self.sync_cv()
|
self.sync_cv()
|
||||||
|
|
||||||
blob_test = "TR398v2-";
|
blob_test = "TR398v2-"
|
||||||
|
|
||||||
self.rm_text_blob(self.config_name, blob_test) # To delete old config with same name
|
self.rm_text_blob(self.config_name, blob_test) # To delete old config with same name
|
||||||
self.show_text_blob(None, None, False)
|
self.show_text_blob(None, None, False)
|
||||||
@@ -370,7 +368,6 @@ class TR398v2Test(cvtest):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
parser = argparse.ArgumentParser("""
|
parser = argparse.ArgumentParser("""
|
||||||
Open this file in an editor and read the top notes for more details.
|
Open this file in an editor and read the top notes for more details.
|
||||||
|
|
||||||
@@ -427,25 +424,25 @@ def main():
|
|||||||
|
|
||||||
cv_base_adjust_parser(args)
|
cv_base_adjust_parser(args)
|
||||||
|
|
||||||
CV_Test = TR398v2Test(lf_host = args.mgr,
|
CV_Test = TR398v2Test(lf_host=args.mgr,
|
||||||
lf_port = args.port,
|
lf_port=args.port,
|
||||||
lf_user = args.lf_user,
|
lf_user=args.lf_user,
|
||||||
lf_password = args.lf_password,
|
lf_password=args.lf_password,
|
||||||
instance_name = args.instance_name,
|
instance_name=args.instance_name,
|
||||||
config_name = args.config_name,
|
config_name=args.config_name,
|
||||||
upstream = args.upstream,
|
upstream=args.upstream,
|
||||||
pull_report = args.pull_report,
|
pull_report=args.pull_report,
|
||||||
local_lf_report_dir = args.local_lf_report_dir,
|
local_lf_report_dir=args.local_lf_report_dir,
|
||||||
load_old_cfg = args.load_old_cfg,
|
load_old_cfg=args.load_old_cfg,
|
||||||
dut2 = args.dut2,
|
dut2=args.dut2,
|
||||||
dut5 = args.dut5,
|
dut5=args.dut5,
|
||||||
raw_lines_file = args.raw_lines_file,
|
raw_lines_file=args.raw_lines_file,
|
||||||
enables = args.enable,
|
enables=args.enable,
|
||||||
disables = args.disable,
|
disables=args.disable,
|
||||||
raw_lines = args.raw_line,
|
raw_lines=args.raw_line,
|
||||||
sets = args.set,
|
sets=args.set,
|
||||||
test_rig=args.test_rig
|
test_rig=args.test_rig
|
||||||
)
|
)
|
||||||
CV_Test.setup()
|
CV_Test.setup()
|
||||||
CV_Test.run()
|
CV_Test.run()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user