nonebot2/tests/plugins/require.py
2023-06-24 14:47:35 +08:00

9 lines
203 B
Python

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