mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-05-22 13:41:33 +00:00
Some checks failed
Docker Image Build / build (push) Failing after 15s
Deploy VitePress site to Liteyuki PaaS / build (push) Failing after 1m2s
Pre-commit checks / pre-commit (3.10) (push) Failing after 1m46s
Pre-commit checks / pre-commit (3.11) (push) Failing after 1m38s
Pre-commit checks / pre-commit (3.12) (push) Failing after 1m45s
Pre-commit checks / pre-commit (3.13) (push) Failing after 1m43s
22 lines
473 B
Python
Executable File
22 lines
473 B
Python
Executable File
# -*- coding: utf-8 -*-
|
|
"""
|
|
Copyright (C) 2020-2025 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))
|