nonebot2/tests/plugins/require.py

8 lines
176 B
Python
Raw Normal View History

2021-12-16 17:28:57 +08:00
from nonebot import require
test_require = require("export").test
2022-05-26 16:35:47 +08:00
from plugins.export import test
assert test is test_require and test() == "export", "Export Require Error"