mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-18 09:25:46 +08:00
9 lines
203 B
Python
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"
|