nonebot2/tests/plugins/require.py

9 lines
219 B
Python
Raw Normal View History

2021-12-16 17:28:57 +08:00
from nonebot import require
from plugins.export import test
2022-01-15 21:27:43 +08:00
2021-12-16 17:28:57 +08:00
from .export import test as test_related
test_require = require("export").test
assert test is test_related and test is test_require, "Export Require Error"