mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
lf_ap_auto_test: Cleanup whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -172,7 +172,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")
|
||||||
@@ -252,13 +251,12 @@ class ApAutoTest(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 = "%s-"%(self.test_name)
|
blob_test = "%s-" % self.test_name
|
||||||
|
|
||||||
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)
|
||||||
@@ -306,7 +304,6 @@ class ApAutoTest(cvtest):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog="lf_ap_auto_test.py",
|
prog="lf_ap_auto_test.py",
|
||||||
formatter_class=argparse.RawTextHelpFormatter,
|
formatter_class=argparse.RawTextHelpFormatter,
|
||||||
@@ -353,7 +350,9 @@ def main():
|
|||||||
help="Specify 2.4Ghz radio. May be specified multiple times.")
|
help="Specify 2.4Ghz radio. May be specified multiple times.")
|
||||||
parser.add_argument("--radio5", action='append', nargs=1, default=[],
|
parser.add_argument("--radio5", action='append', nargs=1, default=[],
|
||||||
help="Specify 5Ghz radio. May be specified multiple times.")
|
help="Specify 5Ghz radio. May be specified multiple times.")
|
||||||
parser.add_argument("--local_lf_report_dir", help="--local_lf_report_dir <where to pull reports to> default '' put where dataplane script run from",default="")
|
parser.add_argument("--local_lf_report_dir",
|
||||||
|
help="--local_lf_report_dir <where to pull reports to> default '' put where dataplane script run from",
|
||||||
|
default="")
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
@@ -387,5 +386,6 @@ def main():
|
|||||||
|
|
||||||
CV_Test.check_influx_kpi(args)
|
CV_Test.check_influx_kpi(args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user