mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +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"
|