diff options
author | Kyomotoi <[email protected]> | 2022-10-13 16:22:02 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-10-13 16:22:02 +0800 |
commit | 62f339d431811c5908a7e5f2eaabd6d45ca1be84 (patch) | |
tree | 8df4009910fd87af836dbff6acbdb0dc0e8bb676 /test | |
parent | cbe782eca371856a1b29586b9681a510827aff1c (diff) | |
download | ATRI-62f339d431811c5908a7e5f2eaabd6d45ca1be84.tar.gz ATRI-62f339d431811c5908a7e5f2eaabd6d45ca1be84.tar.bz2 ATRI-62f339d431811c5908a7e5f2eaabd6d45ca1be84.zip |
π¨β‘οΈ θ·θΏ config ι‘Ήηιζ
Diffstat (limited to 'test')
-rw-r--r-- | test/test_plugin_help.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_plugin_help.py b/test/test_plugin_help.py index ee68f58..fa7616a 100644 --- a/test/test_plugin_help.py +++ b/test/test_plugin_help.py @@ -32,12 +32,11 @@ async def test_main_help(app: App): @pytest.mark.asyncio async def test_about_me(app: App): - from ATRI import __version__ - from ATRI.config import BotSelfConfig + from ATRI import __version__, conf from ATRI.plugins.help import about temp_list = list() - for i in BotSelfConfig.nickname: + for i in conf.BotConfig.nickname: temp_list.append(i) nickname = "γ".join(map(str, temp_list)) |