mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
@@ -39,13 +39,13 @@ class TestBase:
|
|||||||
for profile in self.profiles:
|
for profile in self.profiles:
|
||||||
profile.check_passes()
|
profile.check_passes()
|
||||||
|
|
||||||
def run_duration(self, monitor_enabled= False):
|
def run_duration(self, monitor_enabled=False):
|
||||||
#here check if monitor is enabled or not, then run loop accordingly
|
# here check if monitor is enabled or not, then run loop accordingly
|
||||||
self.check_for_halt()
|
self.check_for_halt()
|
||||||
if self.profiles:
|
if self.profiles:
|
||||||
if monitor_enabled:
|
if monitor_enabled:
|
||||||
for profile in self.profiles:
|
for profile in self.profiles:
|
||||||
profile.monitor_record() #check for halt in monitor record?
|
profile.monitor_record() # check for halt in monitor record?
|
||||||
for profile in self.profiles:
|
for profile in self.profiles:
|
||||||
profile.grade()
|
profile.grade()
|
||||||
if self.exit_on_fail:
|
if self.exit_on_fail:
|
||||||
@@ -53,8 +53,8 @@ class TestBase:
|
|||||||
self.exit_fail()
|
self.exit_fail()
|
||||||
self.check_for_quit()
|
self.check_for_quit()
|
||||||
|
|
||||||
def report(self, enabled= False):
|
def report(self, enabled=False):
|
||||||
#here check if monitor is enabled or not, then run loop accordingly with lfreporting
|
# here check if monitor is enabled or not, then run loop accordingly with lfreporting
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def begin(self):
|
def begin(self):
|
||||||
@@ -65,4 +65,3 @@ class TestBase:
|
|||||||
self.stop()
|
self.stop()
|
||||||
self.report()
|
self.report()
|
||||||
self.clean_up()
|
self.clean_up()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user