mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-25 01:25:04 +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"
|