MCPcopy Index your code
hub / github.com/Python3WebSpider/ProxyPool / run_tester

Method run_tester

proxypool/scheduler.py:23–36  ·  view source on GitHub ↗

run tester

(self, cycle=CYCLE_TESTER)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
TesterClass · 0.90

Tested by

no test coverage detected