Exemplo n.º 1
0
import sys, os
from utils.logger_setup import LoggerSetup

file_path = os.path.dirname(os.path.realpath(__file__))

if file_path not in sys.path:
    sys.path.append(file_path + "/../../")

data_dir = os.path.join(file_path, "../../..", "data")
project_dir = os.path.join(file_path, "../../../..")

logger = LoggerSetup.get_logger()
LoggerSetup.set_debug_level()

# make sure to know where we are to avoid issue with relative paths
os.chdir(os.path.dirname(os.path.realpath(__file__)))

#Config.__read_config__(config_file)
logger.info("test package intialized")
Exemplo n.º 2
0
import sys, os
from utils.logger_setup import LoggerSetup
from utils.file_utils import FileUtils

data_dir =  FileUtils.get_datadir()
project_dir = FileUtils.get_projectdir()
schema_dir = FileUtils.get_schemadir()

logger = LoggerSetup.get_logger()
LoggerSetup.set_info_level()

logger.info("utils package intialized")
Exemplo n.º 3
0
import sys, os
from utils.logger_setup import LoggerSetup

logger = LoggerSetup.get_logger()

logger.info("client.inst_builder package intialized")