nonebot2/tests/plugins/require.py
2022-05-26 16:35:47 +08:00

8 lines
176 B
Python

from nonebot import require
test_require = require("export").test
from plugins.export import test
assert test is test_require and test() == "export", "Export Require Error"