run tester
(self, cycle=CYCLE_TESTER)
| 21 | """ |
| 22 | |
| 23 | def run_tester(self, cycle=CYCLE_TESTER): |
| 24 | """ |
| 25 | run tester |
| 26 | """ |
| 27 | if not ENABLE_TESTER: |
| 28 | logger.info('tester not enabled, exit') |
| 29 | return |
| 30 | tester = Tester() |
| 31 | loop = 0 |
| 32 | while True: |
| 33 | logger.debug(f'tester loop {loop} start...') |
| 34 | tester.run() |
| 35 | loop += 1 |
| 36 | time.sleep(cycle) |
| 37 | |
| 38 | def run_getter(self, cycle=CYCLE_GETTER): |
| 39 | """ |