紫晴 176109065e
[skip ci] Update codes of connection (#5542)
* Update codes of connection

Signed-off-by: wangting0128 <ting.wang@zilliz.com>

* [skip ci] Update log for test

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2021-06-02 19:21:33 +08:00

18 lines
456 B
Python

import json
class TestInfo:
def __init__(self):
self.get_default_config()
def get_default_config(self):
""" Make sure the path exists """
self.home_dir = "/tmp/"
self.log_dir = self.home_dir + "log/"
self.log_debug = "%s/refactor_test.debug" % self.log_dir
self.log_info = "%s/refactor_test.log" % self.log_dir
self.log_err = "%s/refactor_test.err" % self.log_dir
test_info = TestInfo()