# -*- coding: utf-8 -*-
# @Time : 2019-08-28 16:32
# @Author : szdl
# @Email : believeyinuo@163.com
# @File : read_config.py
# @Project : API_AUTO_test

import configparser


class ReadConfig:

    @staticmethod
    def get_config(file_path, section, option):
        cf = configparser.ConfigParser()
        cf.read(file_path)
        return cf[section][option]

if __name__ == "__main__":
    from API_AUTO_test.interface_auto_practice_50.tools import project_path
    print(ReadConfig.get_config(project_path.case_config_path, 'MODE', 'mode'))
50ba345df5095547c0f6f78478802535120f7f95
<mask token>


class ReadConfig:
    <mask token>


<mask token>

<mask token>


class ReadConfig:

    @staticmethod
    def get_config(file_path, section, option):
        cf = configparser.ConfigParser()
        cf.read(file_path)
        return cf[section][option]


<mask token>

<mask token>


class ReadConfig:

    @staticmethod
    def get_config(file_path, section, option):
        cf = configparser.ConfigParser()
        cf.read(file_path)
        return cf[section][option]


if __name__ == '__main__':
    from API_AUTO_test.interface_auto_practice_50.tools import project_path
    print(ReadConfig.get_config(project_path.case_config_path, 'MODE', 'mode'))

import configparser


class ReadConfig:

    @staticmethod
    def get_config(file_path, section, option):
        cf = configparser.ConfigParser()
        cf.read(file_path)
        return cf[section][option]


if __name__ == '__main__':
    from API_AUTO_test.interface_auto_practice_50.tools import project_path
    print(ReadConfig.get_config(project_path.case_config_path, 'MODE', 'mode'))

# -*- coding: utf-8 -*-
# @Time : 2019-08-28 16:32
# @Author : szdl
# @Email : believeyinuo@163.com
# @File : read_config.py
# @Project : API_AUTO_test

import configparser


class ReadConfig:

    @staticmethod
    def get_config(file_path, section, option):
        cf = configparser.ConfigParser()
        cf.read(file_path)
        return cf[section][option]

if __name__ == "__main__":
    from API_AUTO_test.interface_auto_practice_50.tools import project_path
    print(ReadConfig.get_config(project_path.case_config_path, 'MODE', 'mode'))