mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 06:27:23 +08:00
22 lines
473 B
Python
22 lines
473 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved
|
||
|
|
||
|
@Time : 2024/8/11 下午11:07
|
||
|
@Author : snowykami
|
||
|
@Email : snowykami@outlook.com
|
||
|
@File : test_config_load.py
|
||
|
@Software: PyCharm
|
||
|
"""
|
||
|
import json
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
sys.path.insert(0, os.getcwd())
|
||
|
from liteyuki.config import load_config_in_default
|
||
|
|
||
|
|
||
|
def test_default_load():
|
||
|
config = load_config_in_default()
|
||
|
print(json.dumps(config, indent=4, ensure_ascii=False))
|