mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 03:20:54 +00:00
✅ add test cases
This commit is contained in:
8
tests/plugins/require.py
Normal file
8
tests/plugins/require.py
Normal file
@ -0,0 +1,8 @@
|
||||
from nonebot import require
|
||||
|
||||
from plugins.export import test
|
||||
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"
|
Reference in New Issue
Block a user