mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-12 22:45:47 +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"
|