MCPcopy
hub / github.com/jhao104/proxy_pool / testConfig

Function testConfig

test/testConfigHandler.py:19–33  ·  view source on GitHub ↗

:return:

()

Source from the content-addressed store, hash-verified

17
18
19def testConfig():
20 """
21 :return:
22 """
23 conf = ConfigHandler()
24 print(conf.dbConn)
25 print(conf.serverPort)
26 print(conf.serverHost)
27 print(conf.tableName)
28 assert isinstance(conf.fetchers, list)
29 print(conf.fetchers)
30
31 for _ in range(2):
32 print(conf.fetchers)
33 sleep(5)
34
35
36if __name__ == '__main__':

Callers 1

Calls 1

ConfigHandlerClass · 0.90

Tested by

no test coverage detected