osc/deploy/ProxyPool/Test/testConfig.py
2025-05-28 19:16:17 +08:00

34 lines
772 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
"""
-------------------------------------------------
File Name testGetConfig
Description : testGetConfig
Author : J_hao
date 2017/7/31
-------------------------------------------------
Change Activity:
2017/7/31:
-------------------------------------------------
"""
__author__ = 'J_hao'
from Config.ConfigGetter import config
# noinspection PyPep8Naming
def testConfig():
"""
:return:
"""
print(config.db_type)
print(config.db_name)
print(config.db_host)
print(config.db_port)
print(config.db_password)
assert isinstance(config.proxy_getter_functions, list)
print(config.proxy_getter_functions)
if __name__ == '__main__':
testConfig()